Index: third_party/WebKit/Source/web/tests/WebHelperPluginTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebHelperPluginTest.cpp b/third_party/WebKit/Source/web/tests/WebHelperPluginTest.cpp |
index fc67ed2cb2beb2ac63ff3f8e320d45f473a0944e..40bf957e929d46f2f430368c06a481f5e58ac8eb 100644 |
--- a/third_party/WebKit/Source/web/tests/WebHelperPluginTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebHelperPluginTest.cpp |
@@ -17,8 +17,8 @@ namespace { |
class FakePlaceholderWebPlugin : public FakeWebPlugin { |
public: |
- FakePlaceholderWebPlugin(WebFrame* frame, const WebPluginParams& params) |
- : FakeWebPlugin(frame, params) {} |
+ explicit FakePlaceholderWebPlugin(const WebPluginParams& params) |
+ : FakeWebPlugin(params) {} |
~FakePlaceholderWebPlugin() override {} |
bool IsPlaceholder() override { return true; } |
@@ -29,10 +29,9 @@ class WebHelperPluginFrameClient : public FrameTestHelpers::TestWebFrameClient { |
WebHelperPluginFrameClient() : create_placeholder_(false) {} |
~WebHelperPluginFrameClient() override {} |
- WebPlugin* CreatePlugin(WebLocalFrame* frame, |
- const WebPluginParams& params) override { |
- return create_placeholder_ ? new FakePlaceholderWebPlugin(frame, params) |
- : new FakeWebPlugin(frame, params); |
+ WebPlugin* CreatePlugin(const WebPluginParams& params) override { |
+ return create_placeholder_ ? new FakePlaceholderWebPlugin(params) |
+ : new FakeWebPlugin(params); |
} |
void SetCreatePlaceholder(bool create_placeholder) { |