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 |