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

Unified Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp

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: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
index 365d7842802d04935360523dfe6bbf8b3a2eead4..35672e3b98eb0cb87949f29fafccae7c2958eebf 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -31,6 +31,8 @@
#include "web/LocalFrameClientImpl.h"
+#include <memory>
+
#include "bindings/core/v8/ScriptController.h"
#include "core/HTMLNames.h"
#include "core/dom/Document.h"
@@ -107,8 +109,6 @@
#include "web/WebLocalFrameImpl.h"
#include "web/WebPluginContainerImpl.h"
-#include <memory>
-
namespace blink {
namespace {
@@ -733,8 +733,7 @@ PluginView* LocalFrameClientImpl::CreatePlugin(
params.attribute_values = param_values;
params.load_manually = load_manually;
- WebPlugin* web_plugin =
- web_frame_->Client()->CreatePlugin(web_frame_, params);
+ WebPlugin* web_plugin = web_frame_->Client()->CreatePlugin(params);
if (!web_plugin)
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698