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

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, 5 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
« no previous file with comments | « Source/core/inspector/InspectorBaseAgent.h ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorBaseAgent.cpp
diff --git a/Source/core/inspector/InspectorBaseAgent.cpp b/Source/core/inspector/InspectorBaseAgent.cpp
index 78a2c19c3d0c77642d598006561463825eae2e98..50f9d769bd096ca8d9270ad017d1b9ba0a2594a5 100644
--- a/Source/core/inspector/InspectorBaseAgent.cpp
+++ b/Source/core/inspector/InspectorBaseAgent.cpp
@@ -43,11 +43,15 @@ InspectorAgent::InspectorAgent(const String& name)
InspectorAgent::~InspectorAgent()
{
+#if ENABLE(OILPAN)
+ m_state = nullptr;
+#endif
}
void InspectorAgent::trace(Visitor* visitor)
{
visitor->trace(m_instrumentingAgents);
+ visitor->trace(m_state);
}
void InspectorAgent::appended(InstrumentingAgents* instrumentingAgents, InspectorState* inspectorState)
@@ -108,6 +112,7 @@ void InspectorAgentRegistry::flushPendingFrontendMessages()
void InspectorAgentRegistry::trace(Visitor* visitor)
{
visitor->trace(m_instrumentingAgents);
+ visitor->trace(m_inspectorState);
#if ENABLE(OILPAN)
visitor->trace(m_agents);
#endif
« no previous file with comments | « Source/core/inspector/InspectorBaseAgent.h ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698