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

Unified Diff: Source/core/inspector/InspectorInspectorAgent.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/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);
Mads Ager (chromium) 2014/06/11 06:20:48 The lifetime is not completely clear to me here. m
keishi 2014/06/11 14:10:53 I've confirmed that InstrumentingAgents does not o
+#endif
+}
+
+void InspectorInspectorAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_inspectedPage);
+ InspectorBaseAgent::trace(visitor);
}
void InspectorInspectorAgent::didClearDocumentOfWindowObject(LocalFrame* frame)

Powered by Google App Engine
This is Rietveld 408576698