Index: Source/core/inspector/InspectorDebuggerAgent.cpp |
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp |
index 2f56ffb4cc82c59bd94a3c8eeb1a82345cc99630..a1017fe481fe1ae90fd8bb547fa6807dc3b52ce9 100644 |
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp |
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp |
@@ -38,7 +38,7 @@ namespace blink { |
InspectorDebuggerAgent::InspectorDebuggerAgent(InjectedScriptManager* injectedScriptManager, V8Debugger* debugger, int contextGroupId) |
: InspectorBaseAgent<InspectorDebuggerAgent, InspectorFrontend::Debugger>("Debugger") |
- , m_v8DebuggerAgent(adoptPtr(new V8DebuggerAgent(injectedScriptManager, debugger, this, contextGroupId))) |
+ , m_v8DebuggerAgent(adoptPtrWillBeNoop(new V8DebuggerAgent(injectedScriptManager, debugger, this, contextGroupId))) |
{ |
} |
@@ -49,6 +49,12 @@ InspectorDebuggerAgent::~InspectorDebuggerAgent() |
#endif |
} |
+DEFINE_TRACE(InspectorDebuggerAgent) |
+{ |
+ visitor->trace(m_v8DebuggerAgent); |
+ InspectorBaseAgent<InspectorDebuggerAgent, InspectorFrontend::Debugger>::trace(visitor); |
+} |
+ |
// Protocol implementation. |
void InspectorDebuggerAgent::enable(ErrorString* errorString) |
{ |