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

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

Issue 323043002: Oilpan: Prepare moving InspectorAgent related classes to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 e8144121e974b4a8949e13e27366558e6a42cd3f..8a5ab1a54bd531151c50c972e900631614547721 100644
--- a/Source/core/inspector/InspectorBaseAgent.cpp
+++ b/Source/core/inspector/InspectorBaseAgent.cpp
@@ -32,6 +32,7 @@
#include "core/inspector/InspectorBaseAgent.h"
#include "core/inspector/InspectorState.h"
+#include "core/inspector/InstrumentingAgents.h"
#include "wtf/PassOwnPtr.h"
namespace WebCore {
@@ -45,6 +46,11 @@ InspectorAgent::~InspectorAgent()
{
}
+void InspectorAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_instrumentingAgents);
+}
+
void InspectorAgent::appended(InstrumentingAgents* instrumentingAgents, InspectorState* inspectorState)
{
m_instrumentingAgents = instrumentingAgents;
@@ -105,6 +111,7 @@ void InspectorAgentRegistry::trace(Visitor* visitor)
#if ENABLE(OILPAN)
visitor->trace(m_agents);
#endif
+ visitor->trace(m_instrumentingAgents);
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698