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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added agents() 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/PageConsoleAgent.cpp
diff --git a/Source/core/inspector/PageConsoleAgent.cpp b/Source/core/inspector/PageConsoleAgent.cpp
index dfa5c70898f555637fd881f7c5bc74a2f3f79b17..2540f7454580709d813bac90912f5b0ffdcd9e83 100644
--- a/Source/core/inspector/PageConsoleAgent.cpp
+++ b/Source/core/inspector/PageConsoleAgent.cpp
@@ -47,7 +47,15 @@ PageConsoleAgent::PageConsoleAgent(InjectedScriptManager* injectedScriptManager,
PageConsoleAgent::~PageConsoleAgent()
{
- m_inspectorDOMAgent = 0;
+#if !ENABLE(OILPAN)
+ m_inspectorDOMAgent = nullptr;
+#endif
+}
+
+void PageConsoleAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_inspectorDOMAgent);
+ InspectorConsoleAgent::trace(visitor);
}
void PageConsoleAgent::clearMessages(ErrorString* errorString)

Powered by Google App Engine
This is Rietveld 408576698