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

Unified Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp

Issue 1434383002: Oilpan: move InspectedFrames to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix incorrect OwnPtr<> use Created 5 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
index 62258a2b8710f2eaec185c10294079bebbc3a564..e21c267768afe49f85044c339b9f566abff03056 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
@@ -320,7 +320,7 @@ WebDevToolsAgentImpl::WebDevToolsAgentImpl(
, m_resourceContentLoader(InspectorResourceContentLoader::create(m_webLocalFrameImpl->frame()))
, m_state(adoptPtrWillBeNoop(new InspectorCompositeState(this)))
, m_overlay(overlay)
- , m_inspectedFrames(adoptPtr(new InspectedFrames(m_webLocalFrameImpl->frame())))
+ , m_inspectedFrames(InspectedFrames::create(m_webLocalFrameImpl->frame()))
, m_inspectorAgent(nullptr)
, m_domAgent(nullptr)
, m_pageAgent(nullptr)
@@ -413,6 +413,7 @@ DEFINE_TRACE(WebDevToolsAgentImpl)
visitor->trace(m_resourceContentLoader);
visitor->trace(m_state);
visitor->trace(m_overlay);
+ visitor->trace(m_inspectedFrames);
visitor->trace(m_inspectorAgent);
visitor->trace(m_domAgent);
visitor->trace(m_pageAgent);
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698