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

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

Issue 306053010: Tried using CrossThreadPersistent for workerDebuggerAgents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/InspectorInspectorAgent.h ('k') | Source/core/inspector/InspectorInstrumentation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorInspectorAgent.cpp
diff --git a/Source/core/inspector/InspectorInspectorAgent.cpp b/Source/core/inspector/InspectorInspectorAgent.cpp
index 15eb17cdb21aded978075fecb543b58b7dc3e8a6..89795c0ae812febe1d873bfda386b33530a98157 100644
--- a/Source/core/inspector/InspectorInspectorAgent.cpp
+++ b/Source/core/inspector/InspectorInspectorAgent.cpp
@@ -63,7 +63,15 @@ InspectorInspectorAgent::InspectorInspectorAgent(Page* page, InjectedScriptManag
InspectorInspectorAgent::~InspectorInspectorAgent()
{
+#if !ENABLE(OILPAN)
m_instrumentingAgents->setInspectorInspectorAgent(0);
+#endif
+}
+
+void InspectorInspectorAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_inspectedPage);
+ InspectorBaseAgent::trace(visitor);
}
void InspectorInspectorAgent::didClearDocumentOfWindowObject(LocalFrame* frame)
« no previous file with comments | « Source/core/inspector/InspectorInspectorAgent.h ('k') | Source/core/inspector/InspectorInstrumentation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698