| 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 a0abd0ef0c9d403128fe9bbedf90475c07978c6c..99834dd0827a49f544b4d256f07ba09a824b53e7 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
|
| @@ -35,8 +35,8 @@ const char kDeviceNameTooLong[] =
|
| } // namespace
|
|
|
| static void CanonicalizeFilter(
|
| - const BluetoothScanFilterInit& filter,
|
| - mojom::blink::WebBluetoothScanFilterPtr& canonicalizedFilter,
|
| + const BluetoothLEScanFilterInit& filter,
|
| + mojom::blink::WebBluetoothLeScanFilterPtr& canonicalizedFilter,
|
| ExceptionState& exceptionState) {
|
| if (!(filter.hasServices() || filter.hasName() || filter.hasNamePrefix())) {
|
| exceptionState.throwTypeError(
|
| @@ -106,8 +106,8 @@ static void ConvertRequestDeviceOptions(
|
|
|
| result->filters.emplace();
|
|
|
| - for (const BluetoothScanFilterInit& filter : options.filters()) {
|
| - auto canonicalizedFilter = mojom::blink::WebBluetoothScanFilter::New();
|
| + for (const BluetoothLEScanFilterInit& filter : options.filters()) {
|
| + auto canonicalizedFilter = mojom::blink::WebBluetoothLeScanFilter::New();
|
|
|
| CanonicalizeFilter(filter, canonicalizedFilter, exceptionState);
|
|
|
|
|