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

Unified Diff: content/shell/test_runner/web_frame_test_client.cc

Issue 2855123003: Remove rendundant WebLocalFrame parameter in various plugin code. (Closed)
Patch Set: Fix Android Created 3 years, 8 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_client.cc
diff --git a/content/shell/test_runner/web_frame_test_client.cc b/content/shell/test_runner/web_frame_test_client.cc
index 2a52fad8863c64d550a6d8918ae5bd3ce599d7a9..d465938e2f27bc14a9682f067d4f925aa9210854 100644
--- a/content/shell/test_runner/web_frame_test_client.cc
+++ b/content/shell/test_runner/web_frame_test_client.cc
@@ -370,11 +370,10 @@ void WebFrameTestClient::DidChangeSelection(bool is_empty_callback) {
}
blink::WebPlugin* WebFrameTestClient::CreatePlugin(
- blink::WebLocalFrame* frame,
const blink::WebPluginParams& params) {
if (TestPlugin::IsSupportedMimeType(params.mime_type))
- return TestPlugin::create(frame, params, delegate_);
- return delegate_->CreatePluginPlaceholder(frame, params);
+ return TestPlugin::Create(params, delegate_);
+ return delegate_->CreatePluginPlaceholder(params);
}
void WebFrameTestClient::ShowContextMenu(

Powered by Google App Engine
This is Rietveld 408576698