Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1303)

Unified Diff: Source/core/inspector/InspectorDOMAgent.h

Issue 16934003: Inspector: replace generic discardAgents logic with explicit call to discard a listener. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorDOMAgent.h
diff --git a/Source/core/inspector/InspectorDOMAgent.h b/Source/core/inspector/InspectorDOMAgent.h
index 54ea573cea210e686592fb041a79fc5cfe00517a..662e1ec7eebb677b1c667045088b21e5265e337d 100644
--- a/Source/core/inspector/InspectorDOMAgent.h
+++ b/Source/core/inspector/InspectorDOMAgent.h
@@ -101,6 +101,7 @@ public:
virtual void didRemoveDocument(Document*) = 0;
virtual void didRemoveDOMNode(Node*) = 0;
virtual void didModifyDOMAttr(Element*) = 0;
+ virtual void discardListener() = 0;
vsevik 2013/06/14 06:30:24 willDestroyDOMAgent
};
static PassOwnPtr<InspectorDOMAgent> create(InstrumentingAgents* instrumentingAgents, InspectorPageAgent* pageAgent, InspectorCompositeState* inspectorState, InjectedScriptManager* injectedScriptManager, InspectorOverlay* overlay, InspectorClient* client)

Powered by Google App Engine
This is Rietveld 408576698