Index: Source/core/inspector/InspectorDOMAgent.cpp |
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp |
index fbe6ed5797eeb0fea71238d912c6b95cfba2cb91..36b2951cb26403b4ad9e837888c5ee4a38aa5a68 100644 |
--- a/Source/core/inspector/InspectorDOMAgent.cpp |
+++ b/Source/core/inspector/InspectorDOMAgent.cpp |
@@ -247,8 +247,8 @@ InspectorDOMAgent::~InspectorDOMAgent() |
void InspectorDOMAgent::setFrontend(InspectorFrontend* frontend) |
{ |
ASSERT(!m_frontend); |
- m_history = adoptPtr(new InspectorHistory()); |
- m_domEditor = adoptPtr(new DOMEditor(m_history.get())); |
+ m_history = adoptPtrWillBeNoop(new InspectorHistory()); |
+ m_domEditor = adoptPtrWillBeNoop(new DOMEditor(m_history.get())); |
m_frontend = frontend->dom(); |
m_instrumentingAgents->setInspectorDOMAgent(this); |