Index: third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp |
diff --git a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp |
index c881c4d96fed7e5f2decb0e79885c70e27b255df..c2b6821537d7b84f95cfba878f9e3ee1ae9b80ea 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp |
@@ -145,7 +145,7 @@ ScriptPromise Bluetooth::requestDevice(ScriptState* scriptState, const RequestDe |
// 1. If the incumbent settings object is not a secure context, reject promise with a SecurityError and abort these steps. |
String errorMessage; |
- if (!scriptState->executionContext()->isSecureContext(errorMessage)) { |
+ if (!scriptState->getExecutionContext()->isSecureContext(errorMessage)) { |
return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(SecurityError, errorMessage)); |
} |