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

Unified Diff: chrome/renderer/plugins/plugin_preroller.cc

Issue 2855123003: Remove rendundant WebLocalFrame parameter in various plugin code. (Closed)
Patch Set: Fix Android Created 3 years, 7 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: chrome/renderer/plugins/plugin_preroller.cc
diff --git a/chrome/renderer/plugins/plugin_preroller.cc b/chrome/renderer/plugins/plugin_preroller.cc
index 18f026944b8b69b53db33b7dee428820443884fb..c801a3b8e69b6c3e3c9e2ef12aa2435f1dd7afcc 100644
--- a/chrome/renderer/plugins/plugin_preroller.cc
+++ b/chrome/renderer/plugins/plugin_preroller.cc
@@ -15,7 +15,6 @@
#include "ui/gfx/codec/png_codec.h"
PluginPreroller::PluginPreroller(content::RenderFrame* render_frame,
- blink::WebLocalFrame* frame,
const blink::WebPluginParams& params,
const content::WebPluginInfo& info,
const std::string& identifier,
@@ -23,7 +22,6 @@ PluginPreroller::PluginPreroller(content::RenderFrame* render_frame,
const base::string16& message,
content::PluginInstanceThrottler* throttler)
: RenderFrameObserver(render_frame),
- frame_(frame),
params_(params),
info_(info),
identifier_(identifier),
@@ -66,7 +64,7 @@ void PluginPreroller::OnThrottleStateChange() {
ChromePluginPlaceholder* placeholder =
ChromePluginPlaceholder::CreateBlockedPlugin(
- render_frame(), frame_, params_, info_, identifier_, name_,
+ render_frame(), params_, info_, identifier_, name_,
IDR_PLUGIN_POSTER_HTML, message_, power_saver_info);
placeholder->SetPremadePlugin(throttler_);
placeholder->AllowLoading();

Powered by Google App Engine
This is Rietveld 408576698