Index: third_party/WebKit/Source/web/tests/FakeWebPlugin.cpp |
diff --git a/third_party/WebKit/Source/web/tests/FakeWebPlugin.cpp b/third_party/WebKit/Source/web/tests/FakeWebPlugin.cpp |
index c72d4548d86b06e08c9578526d7753b112b56904..43b7d16a31343eaba6e6be6e82204fd08ea943f9 100644 |
--- a/third_party/WebKit/Source/web/tests/FakeWebPlugin.cpp |
+++ b/third_party/WebKit/Source/web/tests/FakeWebPlugin.cpp |
@@ -32,8 +32,7 @@ |
namespace blink { |
-FakeWebPlugin::FakeWebPlugin(WebFrame* frame, const WebPluginParams& params) |
- : frame_(frame) {} |
+FakeWebPlugin::FakeWebPlugin(const WebPluginParams& params) {} |
FakeWebPlugin::~FakeWebPlugin() {} |
@@ -43,8 +42,7 @@ bool FakeWebPlugin::Initialize(WebPluginContainer* container) { |
} |
void FakeWebPlugin::Destroy() { |
- container_ = 0; |
- frame_ = 0; |
+ container_ = nullptr; |
delete this; |
} |