Index: Source/core/inspector/InspectorDOMAgent.cpp |
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp |
index f61e5ab13e11cf3c7b7cd16d700f24c54fc927cd..10d432c7c3f350d9ff0e6cc8c16cf66657fc3a7b 100644 |
--- a/Source/core/inspector/InspectorDOMAgent.cpp |
+++ b/Source/core/inspector/InspectorDOMAgent.cpp |
@@ -249,8 +249,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); |