Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(853)

Unified Diff: third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Change ref to pointer Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
index 4bfaf8f3ea39ebdd9e47c474385b424f3f1e1f8c..55c97f33251159e4c3212e0430aab1f55b48dd37 100644
--- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
@@ -59,6 +59,7 @@ static void canonicalizeFilter(const BluetoothScanFilter& filter, WebBluetoothSc
canonicalizedFilter.services.assign(services);
}
+ canonicalizedFilter.hasName = filter.hasName();
if (filter.hasName()) {
size_t nameLength = filter.name().utf8().length();
if (nameLength > kMaxDeviceNameLength) {

Powered by Google App Engine
This is Rietveld 408576698