| 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) {
|
|
|