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

Unified Diff: Source/core/inspector/InspectorBaseAgent.cpp

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/InspectorBaseAgent.cpp
diff --git a/Source/core/inspector/InspectorBaseAgent.cpp b/Source/core/inspector/InspectorBaseAgent.cpp
index 950e4224c46a140a113bfa47704593aecfdcd2c2..a40f74d101834431d57f72ca1c108ef52cdf7d0d 100644
--- a/Source/core/inspector/InspectorBaseAgent.cpp
+++ b/Source/core/inspector/InspectorBaseAgent.cpp
@@ -84,11 +84,5 @@ void InspectorAgentRegistry::registerInDispatcher(InspectorBackendDispatcher* di
m_agents[i]->registerInDispatcher(dispatcher);
}
-void InspectorAgentRegistry::discardAgents()
-{
- for (size_t i = 0; i < m_agents.size(); i++)
- m_agents[i]->discardAgent();
-}
-
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698