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 421002cb8a190ab1c7ddbe93a67719a68955cc66..a9b7d5c206b9fe8409b85d6a6bfc6f32e5e8491c 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp |
@@ -64,7 +64,7 @@ ScriptPromise Bluetooth::requestDevice(ScriptState* scriptState, const RequestDe |
return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(SecurityError, "Must be handling a user gesture to show a permission request.")); |
} |
- WebBluetooth* webbluetooth = BluetoothSupplement::from(scriptState); |
+ WebBluetooth* webbluetooth = BluetoothSupplement::getFromScriptState(scriptState); |
if (!webbluetooth) |
return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |