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

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: Fixed 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/InspectorDebuggerAgent.cpp
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
index eb1529bd4934c0c0b9cb1b4ff71d6b209423b93f..f73bb0e5ba94aa16a5a556628013a8d6681489c8 100644
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
@@ -107,7 +107,7 @@ InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedSc
, m_javaScriptPauseScheduled(false)
, m_debuggerStepScheduled(false)
, m_pausingOnNativeEvent(false)
- , m_listener(0)
+ , m_listener(nullptr)
, m_skippedStepInCount(0)
, m_skipAllPauses(false)
{
@@ -115,7 +115,9 @@ InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedSc
InspectorDebuggerAgent::~InspectorDebuggerAgent()
{
+#if !ENABLE(OILPAN)
ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent());
+#endif
}
void InspectorDebuggerAgent::init()
@@ -1282,5 +1284,11 @@ void InspectorDebuggerAgent::reset()
m_frontend->globalObjectCleared();
}
+void InspectorDebuggerAgent::trace(Visitor* visitor)
+{
+ visitor->trace(m_listener);
+ InspectorBaseAgent::trace(visitor);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698