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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.h

Issue 2888203006: Move the logic to retrieve the WebPluginContainer to LocalFrame and Node. (Closed)
Patch Set: Rename & format. 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: third_party/WebKit/Source/web/WebPluginContainerImpl.h
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.h b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
index 39eb25ba79c3729b1e19a2fd46f4ec527b652619..830c086689c7a11938d3bc57cf68e5c78e54c4f9 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.h
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
@@ -172,6 +172,10 @@ class WEB_EXPORT WebPluginContainerImpl final : public WebPluginContainerBase {
void DidFinishLoading() override;
void DidFailLoading(const ResourceError&) override;
+ WebPluginContainerBase* GetWebPluginContainerBase() const override {
+ return const_cast<WebPluginContainerImpl*>(this);
+ }
+
DECLARE_VIRTUAL_TRACE();
void Dispose() override;

Powered by Google App Engine
This is Rietveld 408576698