Index: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp |
index c8897036a59f99b1018adf11f7c79739be6083c3..c6b17a502c1e306eca486ff7124eaaf16b3f83de 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp |
@@ -54,7 +54,7 @@ ScheduledAction* ScheduledAction::create(ScriptState* scriptState, |
ASSERT(handler.isFunction()); |
if (!scriptState->world().isWorkerWorld()) { |
if (!BindingSecurity::shouldAllowAccessToFrame( |
- enteredOrMicrotaskDOMWindow(scriptState->isolate()), |
+ enteredDOMWindow(scriptState->isolate()), |
toDocument(target)->frame(), |
BindingSecurity::ErrorReportOption::DoNotReport)) { |
UseCounter::count(target, UseCounter::ScheduledActionIgnored); |
@@ -69,7 +69,7 @@ ScheduledAction* ScheduledAction::create(ScriptState* scriptState, |
const String& handler) { |
if (!scriptState->world().isWorkerWorld()) { |
if (!BindingSecurity::shouldAllowAccessToFrame( |
- enteredOrMicrotaskDOMWindow(scriptState->isolate()), |
+ enteredDOMWindow(scriptState->isolate()), |
toDocument(target)->frame(), |
BindingSecurity::ErrorReportOption::DoNotReport)) { |
UseCounter::count(target, UseCounter::ScheduledActionIgnored); |