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

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

Issue 323043002: Oilpan: Prepare moving InspectorAgent related classes to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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/InspectorConsoleAgent.cpp
diff --git a/Source/core/inspector/InspectorConsoleAgent.cpp b/Source/core/inspector/InspectorConsoleAgent.cpp
index e9948e65534d4e0dfc90c4d20b4304c5ce794541..caa342d3843a02f601047cdedf6fa61f602587bf 100644
--- a/Source/core/inspector/InspectorConsoleAgent.cpp
+++ b/Source/core/inspector/InspectorConsoleAgent.cpp
@@ -76,14 +76,15 @@ InspectorConsoleAgent::~InspectorConsoleAgent()
#if !ENABLE(OILPAN)
m_instrumentingAgents->setInspectorConsoleAgent(0);
m_instrumentingAgents = nullptr;
+ m_state = nullptr;
+ m_injectedScriptManager = nullptr;
#endif
- m_state = 0;
- m_injectedScriptManager = 0;
}
void InspectorConsoleAgent::trace(Visitor* visitor)
{
visitor->trace(m_timelineAgent);
+ visitor->trace(m_injectedScriptManager);
InspectorBaseAgent::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698