Index: components/plugins/renderer/plugin_placeholder.cc |
diff --git a/components/plugins/renderer/plugin_placeholder.cc b/components/plugins/renderer/plugin_placeholder.cc |
index 8d11e55a934d9c7520a778727cb496998f8ed859..950257531de867f52c3b168cc7abe1d42538c4ce 100644 |
--- a/components/plugins/renderer/plugin_placeholder.cc |
+++ b/components/plugins/renderer/plugin_placeholder.cc |
@@ -21,11 +21,9 @@ const char kPluginPlaceholderDataURL[] = "data:text/html,pluginplaceholderdata"; |
PluginPlaceholderBase::PluginPlaceholderBase( |
content::RenderFrame* render_frame, |
- blink::WebLocalFrame* frame, |
const blink::WebPluginParams& params, |
const std::string& html_data) |
: content::RenderFrameObserver(render_frame), |
- frame_(frame), |
plugin_params_(params), |
plugin_(WebViewPlugin::Create(render_frame->GetRenderView(), |
this, |
@@ -113,23 +111,15 @@ void PluginPlaceholderBase::HideCallback() { |
HidePlugin(); |
} |
-void PluginPlaceholderBase::OnDestruct() { |
- frame_ = NULL; |
-} |
- |
-blink::WebLocalFrame* PluginPlaceholderBase::GetFrame() { |
- return frame_; |
-} |
+void PluginPlaceholderBase::OnDestruct() {} |
// static |
gin::WrapperInfo PluginPlaceholder::kWrapperInfo = {gin::kEmbedderNativeGin}; |
PluginPlaceholder::PluginPlaceholder(content::RenderFrame* render_frame, |
- blink::WebLocalFrame* frame, |
const blink::WebPluginParams& params, |
const std::string& html_data) |
- : PluginPlaceholderBase(render_frame, frame, params, html_data) { |
-} |
+ : PluginPlaceholderBase(render_frame, params, html_data) {} |
PluginPlaceholder::~PluginPlaceholder() { |
} |