Index: third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h |
index 08e8fb49bbe5fae05391949a1ee443ec0616ed18..60d5a3905e56177f0a142397692a243425a459ce 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.h |
@@ -30,6 +30,8 @@ public: |
// Returns the WebBluetooth attached to the frame if the frame exists. |
// Otherwise returns nullptr. |
static WebBluetooth* fromScriptState(ScriptState*); |
+ // Returns the WebBluetooth attached to the execution context. |
+ static WebBluetooth* fromExecutionContext(ExecutionContext*); |
DECLARE_VIRTUAL_TRACE(); |