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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.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/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index d52fa4d886b729e2a31a920ed82dbd7470821071..cd8b735304313ffc42da1f6ebfacacb309a47a35 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -748,13 +748,12 @@ void BlinkTestRunner::ResolveBeforeInstallPromptPromise(
}
blink::WebPlugin* BlinkTestRunner::CreatePluginPlaceholder(
- blink::WebLocalFrame* frame, const blink::WebPluginParams& params) {
+ const blink::WebPluginParams& params) {
if (params.mime_type != "application/x-plugin-placeholder-test")
return nullptr;
- plugins::PluginPlaceholder* placeholder =
- new plugins::PluginPlaceholder(render_view()->GetMainRenderFrame(), frame,
- params, "<div>Test content</div>");
+ plugins::PluginPlaceholder* placeholder = new plugins::PluginPlaceholder(
+ render_view()->GetMainRenderFrame(), params, "<div>Test content</div>");
return placeholder->plugin();
}

Powered by Google App Engine
This is Rietveld 408576698