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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents 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/PageRuntimeAgent.cpp
diff --git a/Source/core/inspector/PageRuntimeAgent.cpp b/Source/core/inspector/PageRuntimeAgent.cpp
index 9092f01a2ed3ded6c49a796388f58d74224be5e9..e9759a6af85332921ee67ec40e8fa791aad9ef0a 100644
--- a/Source/core/inspector/PageRuntimeAgent.cpp
+++ b/Source/core/inspector/PageRuntimeAgent.cpp
@@ -55,7 +55,16 @@ PageRuntimeAgent::PageRuntimeAgent(InjectedScriptManager* injectedScriptManager,
PageRuntimeAgent::~PageRuntimeAgent()
{
+#if !ENABLE(OILPAN)
m_instrumentingAgents->setPageRuntimeAgent(0);
+#endif
+}
+
+void PageRuntimeAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_inspectedPage);
+ visitor->trace(m_pageAgent);
+ InspectorRuntimeAgent::trace(visitor);
}
void PageRuntimeAgent::init()

Powered by Google App Engine
This is Rietveld 408576698