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

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

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/InspectorDebuggerAgent.h ('k') | Source/core/inspector/InspectorHeapProfilerAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index 1fa75ee4727694f4fbea9d6407a380e4f047ec6a..1337664afa87a91ec39434c8e07e42b059d1851e 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -120,7 +120,7 @@ InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedSc
, m_debuggerStepScheduled(false)
, m_steppingFromFramework(false)
, m_pausingOnNativeEvent(false)
- , m_listener(0)
+ , m_listener(nullptr)
, m_skippedStepInCount(0)
, m_skipAllPauses(false)
{
@@ -128,7 +128,9 @@ InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedSc
InspectorDebuggerAgent::~InspectorDebuggerAgent()
{
+#if !ENABLE(OILPAN)
ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent());
+#endif
}
void InspectorDebuggerAgent::init()
@@ -1432,5 +1434,11 @@ void InspectorDebuggerAgent::reset()
m_frontend->globalObjectCleared();
}
+void InspectorDebuggerAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_listener);
+ InspectorBaseAgent::trace(visitor);
+}
+
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.h ('k') | Source/core/inspector/InspectorHeapProfilerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698