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 750fdcabd2e091f1e65aec7d3b5146e60484450e..4cd27f84457ff88e3596d94455524cf6683eb220 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp |
@@ -150,7 +150,7 @@ void Bluetooth::RequestDeviceCallback( |
getBluetoothDeviceRepresentingDevice(std::move(device), resolver); |
resolver->resolve(bluetoothDevice); |
} else { |
- resolver->reject(BluetoothError::take(resolver, result)); |
+ resolver->reject(BluetoothError::createDOMException(result)); |
} |
} |