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..7b0ca8417590b8d35387157534636191a690f71c 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::getFromScriptState(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::getFromScriptState(scriptState); |
// Partial implementation of writeValue algorithm: |
// https://webbluetoothchrome.github.io/web-bluetooth/#dom-bluetoothgattcharacteristic-writevalue |