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

Unified Diff: Source/web/WebPluginContainerImpl.cpp

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 years, 3 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
Index: Source/web/WebPluginContainerImpl.cpp
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
index 48b9532b61a57e64cf20232acc87fdcb34363d55..4adc15c159fa4b21adddec32ae9ebe0091593cd1 100644
--- a/Source/web/WebPluginContainerImpl.cpp
+++ b/Source/web/WebPluginContainerImpl.cpp
@@ -674,7 +674,11 @@ bool WebPluginContainerImpl::paintCustomOverhangArea(GraphicsContext* context, c
// Private methods -------------------------------------------------------------
WebPluginContainerImpl::WebPluginContainerImpl(HTMLPlugInElement* element, WebPlugin* webPlugin)
+#if ENABLE(OILPAN)
+ : m_frame(element->document().frame())
+#else
: FrameDestructionObserver(element->document().frame())
+#endif
, m_element(element)
, m_webPlugin(webPlugin)
, m_webLayer(0)

Powered by Google App Engine
This is Rietveld 408576698