Index: Source/core/frame/LocalDOMWindow.cpp |
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp |
index 21ea7a4fd548428bda10d12abae0ed2e024e0215..8585eed748af2e07748ff364a54747713500021c 100644 |
--- a/Source/core/frame/LocalDOMWindow.cpp |
+++ b/Source/core/frame/LocalDOMWindow.cpp |
@@ -900,9 +900,9 @@ void LocalDOMWindow::focus(ExecutionContext* context) |
ASSERT(context); |
- bool allowFocus = context->isWindowFocusAllowed(); |
+ bool allowFocus = context->isWindowInteractionAllowed(); |
if (allowFocus) { |
- context->consumeWindowFocus(); |
+ context->consumeWindowInteraction(); |
} else { |
ASSERT(isMainThread()); |
allowFocus = opener() && (opener() != this) && (toDocument(context)->domWindow() == opener()); |