Index: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp |
index 138abbe862f4f5b3e390458162ffc4cae9cba78e..56ccf4c9ab0356def306176b7686f189ee869fb2 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp |
@@ -78,7 +78,7 @@ Vector<String> BluetoothDevice::uuids() |
ScriptPromise BluetoothDevice::connectGATT(ScriptState* scriptState) |
{ |
- WebBluetooth* webbluetooth = BluetoothSupplement::from(scriptState); |
+ WebBluetooth* webbluetooth = BluetoothSupplement::fromScriptState(scriptState); |
if (!webbluetooth) |
return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError)); |
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |