| Index: Source/core/inspector/InspectorDOMAgent.h
|
| diff --git a/Source/core/inspector/InspectorDOMAgent.h b/Source/core/inspector/InspectorDOMAgent.h
|
| index d6c94cf64292019778424e3a4b4d0745662730cb..38e4b650ba62f7139d1c0e391e5a81c06eb48ed7 100644
|
| --- a/Source/core/inspector/InspectorDOMAgent.h
|
| +++ b/Source/core/inspector/InspectorDOMAgent.h
|
| @@ -51,6 +51,7 @@ class CharacterData;
|
| class DOMEditor;
|
| class Document;
|
| class Element;
|
| +class EventTarget;
|
| class ExceptionState;
|
| class InspectorFrontend;
|
| class InspectorHistory;
|
| @@ -71,14 +72,14 @@ typedef int BackendNodeId;
|
|
|
|
|
| struct EventListenerInfo {
|
| - EventListenerInfo(Node* node, const AtomicString& eventType, const EventListenerVector& eventListenerVector)
|
| - : node(node)
|
| + EventListenerInfo(EventTarget* eventTarget, const AtomicString& eventType, const EventListenerVector& eventListenerVector)
|
| + : eventTarget(eventTarget)
|
| , eventType(eventType)
|
| , eventListenerVector(eventListenerVector)
|
| {
|
| }
|
|
|
| - Node* node;
|
| + EventTarget* eventTarget;
|
| const AtomicString eventType;
|
| const EventListenerVector eventListenerVector;
|
| };
|
| @@ -151,7 +152,7 @@ public:
|
| virtual void getNodeForLocation(ErrorString*, int x, int y, int* nodeId) OVERRIDE;
|
| virtual void getRelayoutBoundary(ErrorString*, int nodeId, int* relayoutBoundaryNodeId) OVERRIDE;
|
|
|
| - static void getEventListeners(Node*, Vector<EventListenerInfo>& listenersArray, bool includeAncestors);
|
| + static void getEventListeners(EventTarget*, Vector<EventListenerInfo>& listenersArray, bool includeAncestors);
|
|
|
| // Methods called from the InspectorInstrumentation.
|
| void setDocument(Document*);
|
|
|