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) |