Index: third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.cpp |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.cpp |
index 1627bbf86c6766cfdad4791a89cd64c151f9f436..0e1f50a187aafb8e1519f77d97d9f17a4d637d88 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.cpp |
@@ -32,7 +32,7 @@ BluetoothGATTCharacteristic* BluetoothGATTCharacteristic::take(ScriptPromiseReso |
ScriptPromise BluetoothGATTCharacteristic::readValue(ScriptState* scriptState) |
{ |
- WebBluetooth* webbluetooth = BluetoothSupplement::from(scriptState); |
+ WebBluetooth* webbluetooth = BluetoothSupplement::fromScriptState(scriptState); |
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |
@@ -43,7 +43,7 @@ ScriptPromise BluetoothGATTCharacteristic::readValue(ScriptState* scriptState) |
ScriptPromise BluetoothGATTCharacteristic::writeValue(ScriptState* scriptState, const DOMArrayPiece& value) |
{ |
- WebBluetooth* webbluetooth = BluetoothSupplement::from(scriptState); |
+ WebBluetooth* webbluetooth = BluetoothSupplement::fromScriptState(scriptState); |
// Partial implementation of writeValue algorithm: |
// https://webbluetoothchrome.github.io/web-bluetooth/#dom-bluetoothgattcharacteristic-writevalue |