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

Unified Diff: content/renderer/pepper/pepper_webplugin_impl_browsertest.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: content/renderer/pepper/pepper_webplugin_impl_browsertest.cc
diff --git a/content/renderer/pepper/pepper_webplugin_impl_browsertest.cc b/content/renderer/pepper/pepper_webplugin_impl_browsertest.cc
index 05b84d707e3533de60f911a5649e287ff89e5f34..71c7f582968a604eb607c2eb2e482e89ac3a91a2 100644
--- a/content/renderer/pepper/pepper_webplugin_impl_browsertest.cc
+++ b/content/renderer/pepper/pepper_webplugin_impl_browsertest.cc
@@ -166,14 +166,13 @@ class PepperWebPluginImplBrowserTest
class MockContentRendererClient : public ContentRendererClient {
public:
bool OverrideCreatePlugin(RenderFrame* render_frame,
- blink::WebLocalFrame* frame,
const blink::WebPluginParams& params,
blink::WebPlugin** plugin) override {
current_test_->throttler_ =
new PluginInstanceThrottlerImpl(RenderFrame::DONT_RECORD_DECISION);
current_test_->throttler_->AddObserver(current_test_);
*plugin = render_frame->CreatePlugin(
- frame, GetPluginInfo().ToWebPluginInfo(), params,
+ GetPluginInfo().ToWebPluginInfo(), params,
base::WrapUnique(current_test_->throttler_));
return *plugin;
}

Powered by Google App Engine
This is Rietveld 408576698