| Index: Source/core/dom/ScriptedAnimationController.cpp
|
| diff --git a/Source/core/dom/ScriptedAnimationController.cpp b/Source/core/dom/ScriptedAnimationController.cpp
|
| index 7f38884b1e070f298737e05dfcd5252850c6f113..26157ad7e68e790bfa43ba5859347a1f7a7bcbce 100644
|
| --- a/Source/core/dom/ScriptedAnimationController.cpp
|
| +++ b/Source/core/dom/ScriptedAnimationController.cpp
|
| @@ -29,7 +29,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/dom/RequestAnimationFrameCallback.h"
|
| #include "core/events/Event.h"
|
| -#include "core/frame/DOMWindow.h"
|
| +#include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/FrameView.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/inspector/InspectorTraceEvents.h"
|
| @@ -119,7 +119,7 @@ void ScriptedAnimationController::dispatchEvents()
|
| // FIXME: we should figure out how to make dispatchEvent properly virtual to avoid
|
| // special casting window.
|
| // FIXME: We should not fire events for nodes that are no longer in the tree.
|
| - if (DOMWindow* window = eventTarget->toDOMWindow())
|
| + if (LocalDOMWindow* window = eventTarget->toDOMWindow())
|
| window->dispatchEvent(events[i], nullptr);
|
| else
|
| eventTarget->dispatchEvent(events[i]);
|
|
|