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() |