diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/sensor/sensor_test_utils.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/sensor/sensor_test_utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/modules/sensor/sensor_test_utils.cc b/chromium/third_party/blink/renderer/modules/sensor/sensor_test_utils.cc index 76b03b67e6f..cc0c3c8c79c 100644 --- a/chromium/third_party/blink/renderer/modules/sensor/sensor_test_utils.cc +++ b/chromium/third_party/blink/renderer/modules/sensor/sensor_test_utils.cc @@ -41,8 +41,8 @@ class SyncEventListener final : public NativeEventListener { SensorTestContext::SensorTestContext() { // Sensor's constructor has a check for this that could be removed in the // future. - testing_scope_.GetDocument().SetSecureContextStateForTesting( - SecureContextState::kSecure); + testing_scope_.GetDocument().SetSecureContextModeForTesting( + SecureContextMode::kSecureContext); // Necessary for SensorProxy::ShouldSuspendUpdates() to work correctly. testing_scope_.GetPage().GetFocusController().SetFocused(true); |