aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/chromium-clang-r3.patch
blob: 0010932b3e1fd18810a8d5962a9bcff68391f2a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Taken from gentoo:
# https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files/chromium-clang-r3.patch
# 
# Prevents this error:
# ../../device/u2f/u2f_ble_transaction.cc:134:27: error: no viable overloaded '='
#   request_cont_fragments_ = {};
#   ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~

--- ./device/fido/u2f_ble_transaction.cc
+++ ./device/fido/u2f_ble_transaction.cc
@@ -131,7 +131,7 @@
 
 void U2fBleTransaction::OnError() {
   request_frame_.reset();
-  request_cont_fragments_ = {};
+  request_cont_fragments_ = base::queue<U2fBleFrameContinuationFragment>();
   response_frame_assembler_.reset();
   std::move(callback_).Run(base::nullopt);
 }