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

Unified Diff: content/shell/test_runner/web_frame_test_proxy.h

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/test_runner/web_frame_test_proxy.h
diff --git a/content/shell/test_runner/web_frame_test_proxy.h b/content/shell/test_runner/web_frame_test_proxy.h
index cd1e517f4b7a75aefa1ba4abd6d06627dbbc8963..a52adee68d0a5dab72b3681a42384f5a8e0be20f 100644
--- a/content/shell/test_runner/web_frame_test_proxy.h
+++ b/content/shell/test_runner/web_frame_test_proxy.h
@@ -58,12 +58,11 @@ class WebFrameTestProxy : public Base, public WebFrameTestProxyBase {
// WebFrameClient implementation.
blink::WebPlugin* CreatePlugin(
- blink::WebLocalFrame* frame,
const blink::WebPluginParams& params) override {
- blink::WebPlugin* plugin = test_client()->CreatePlugin(frame, params);
+ blink::WebPlugin* plugin = test_client()->CreatePlugin(params);
if (plugin)
return plugin;
- return Base::CreatePlugin(frame, params);
+ return Base::CreatePlugin(params);
}
blink::WebScreenOrientationClient* GetWebScreenOrientationClient() override {

Powered by Google App Engine
This is Rietveld 408576698