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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents 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/InspectorConsoleAgent.h ('k') | Source/core/inspector/InspectorController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorConsoleAgent.cpp
diff --git a/Source/core/inspector/InspectorConsoleAgent.cpp b/Source/core/inspector/InspectorConsoleAgent.cpp
index e530edd3d1c7458d3ee0f068c1d7ca7c72fab4f4..5fcb94602711bb961624191ac84e5ced2bf08ac5 100644
--- a/Source/core/inspector/InspectorConsoleAgent.cpp
+++ b/Source/core/inspector/InspectorConsoleAgent.cpp
@@ -73,12 +73,20 @@ InspectorConsoleAgent::InspectorConsoleAgent(InspectorTimelineAgent* timelineAge
InspectorConsoleAgent::~InspectorConsoleAgent()
{
+#if !ENABLE(OILPAN)
m_instrumentingAgents->setInspectorConsoleAgent(0);
- m_instrumentingAgents = 0;
+ m_instrumentingAgents = nullptr;
+#endif
m_state = 0;
m_injectedScriptManager = 0;
}
+void InspectorConsoleAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_timelineAgent);
+ InspectorBaseAgent::trace(visitor);
+}
+
void InspectorConsoleAgent::init()
{
m_instrumentingAgents->setInspectorConsoleAgent(this);
« no previous file with comments | « Source/core/inspector/InspectorConsoleAgent.h ('k') | Source/core/inspector/InspectorController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698