| Index: Source/core/inspector/InspectorTimelineAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorTimelineAgent.cpp b/Source/core/inspector/InspectorTimelineAgent.cpp
|
| index 5af270ad59dd6904e9943d16f5625c8c0ad914b0..6c4330824a3b73133acc9cd8684976ba5035a763 100644
|
| --- a/Source/core/inspector/InspectorTimelineAgent.cpp
|
| +++ b/Source/core/inspector/InspectorTimelineAgent.cpp
|
| @@ -32,7 +32,7 @@
|
| #include "core/inspector/InspectorTimelineAgent.h"
|
|
|
| #include "core/events/Event.h"
|
| -#include "core/frame/DOMWindow.h"
|
| +#include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/FrameConsole.h"
|
| #include "core/frame/FrameHost.h"
|
| #include "core/frame/FrameView.h"
|
| @@ -226,7 +226,7 @@ static LocalFrame* frameForExecutionContext(ExecutionContext* context)
|
| return frame;
|
| }
|
|
|
| -static bool eventHasListeners(const AtomicString& eventType, DOMWindow* window, Node* node, const EventPath& eventPath)
|
| +static bool eventHasListeners(const AtomicString& eventType, LocalDOMWindow* window, Node* node, const EventPath& eventPath)
|
| {
|
| if (window && window->hasEventListeners(eventType))
|
| return true;
|
| @@ -446,7 +446,7 @@ void InspectorTimelineAgent::didCallFunction()
|
| didCompleteCurrentRecord(TimelineRecordType::FunctionCall);
|
| }
|
|
|
| -bool InspectorTimelineAgent::willDispatchEvent(Document* document, const Event& event, DOMWindow* window, Node* node, const EventPath& eventPath)
|
| +bool InspectorTimelineAgent::willDispatchEvent(Document* document, const Event& event, LocalDOMWindow* window, Node* node, const EventPath& eventPath)
|
| {
|
| if (!eventHasListeners(event.type(), window, node, eventPath))
|
| return false;
|
| @@ -455,7 +455,7 @@ bool InspectorTimelineAgent::willDispatchEvent(Document* document, const Event&
|
| return true;
|
| }
|
|
|
| -bool InspectorTimelineAgent::willDispatchEventOnWindow(const Event& event, DOMWindow* window)
|
| +bool InspectorTimelineAgent::willDispatchEventOnWindow(const Event& event, LocalDOMWindow* window)
|
| {
|
| if (!window->hasEventListeners(event.type()))
|
| return false;
|
|
|