| Index: Source/core/page/FocusController.cpp
|
| diff --git a/Source/core/page/FocusController.cpp b/Source/core/page/FocusController.cpp
|
| index c25f7bc81e4772af32755182602aeb46cd3895a8..4028718e36adcc2cb7ed6206184b2d54d1ba3afb 100644
|
| --- a/Source/core/page/FocusController.cpp
|
| +++ b/Source/core/page/FocusController.cpp
|
| @@ -41,7 +41,7 @@
|
| #include "core/editing/FrameSelection.h"
|
| #include "core/editing/htmlediting.h" // For firstPositionInOrBeforeNode
|
| #include "core/events/Event.h"
|
| -#include "core/frame/DOMWindow.h"
|
| +#include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/html/HTMLAreaElement.h"
|
| @@ -155,7 +155,7 @@ static inline void dispatchEventsOnWindowAndFocusedNode(Document* document, bool
|
| }
|
| }
|
|
|
| - if (DOMWindow* window = document->domWindow())
|
| + if (LocalDOMWindow* window = document->domWindow())
|
| window->dispatchEvent(Event::create(focused ? EventTypeNames::focus : EventTypeNames::blur));
|
| if (focused && document->focusedElement()) {
|
| RefPtrWillBeRawPtr<Element> focusedElement(document->focusedElement());
|
|
|