Index: third_party/WebKit/Source/modules/bluetooth/BluetoothGATTService.cpp |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTService.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTService.cpp |
index a0afc007d0338f009bfff4a10ebddb6b96d14a53..bdcfe907952c7acf0b3b508bacb238b6fe3d3232 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTService.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTService.cpp |
@@ -34,7 +34,7 @@ BluetoothGATTService* BluetoothGATTService::take(ScriptPromiseResolver*, PassOwn |
ScriptPromise BluetoothGATTService::getCharacteristic(ScriptState* scriptState, |
const StringOrUnsignedLong& characteristic, ExceptionState& exceptionState) |
{ |
- WebBluetooth* webbluetooth = BluetoothSupplement::from(scriptState); |
+ WebBluetooth* webbluetooth = BluetoothSupplement::fromScriptState(scriptState); |
String characteristicUUID = BluetoothUUID::getCharacteristic(characteristic, exceptionState); |
if (exceptionState.hadException()) |