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

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 1008163003: Oilpan: move WebDevToolsFrontend to the heap. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: trace WebLocalFrameImpl's reference Created 5 years, 9 months 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 | « Source/web/WebLocalFrameImpl.h ('k') | Source/web/web.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index 7513df6512234c0a8a410bab4abd01a89ebbe46d..cc9d28775eb275c5af227330f02bf5bec240d237 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -214,6 +214,7 @@
#include "web/TextFinder.h"
#include "web/WebDataSourceImpl.h"
#include "web/WebDevToolsAgentImpl.h"
+#include "web/WebDevToolsFrontendImpl.h"
#include "web/WebFrameWidgetImpl.h"
#include "web/WebPluginContainerImpl.h"
#include "web/WebRemoteFrameImpl.h"
@@ -1559,7 +1560,7 @@ WebLocalFrameImpl::WebLocalFrameImpl(WebFrameClient* client)
, m_inputEventsScaleFactorForEmulation(1)
, m_userMediaClientImpl(this)
, m_geolocationClientProxy(GeolocationClientProxy::create(client ? client->geolocationClient() : 0))
- , m_webDevToolsFrontend(0)
+ , m_webDevToolsFrontend(nullptr)
#if ENABLE(OILPAN)
, m_selfKeepAlive(this)
#endif
@@ -1585,6 +1586,7 @@ DEFINE_TRACE(WebLocalFrameImpl)
visitor->trace(m_textFinder);
visitor->trace(m_printContext);
visitor->trace(m_geolocationClientProxy);
+ visitor->trace(m_webDevToolsFrontend);
visitor->template registerWeakMembers<WebFrame, &WebFrame::clearWeakFrames>(this);
WebFrame::traceFrames(visitor, this);
}
« no previous file with comments | « Source/web/WebLocalFrameImpl.h ('k') | Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698