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

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

Issue 2888283004: Revert of Introduce WebPluginContainerBase to abstract WebPluginContainerImpl. (Closed)
Patch Set: 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/WebPluginDocument.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginDocument.cpp b/third_party/WebKit/Source/web/WebPluginDocument.cpp
index 6b5c768aaee4067e00f7dbeb7dac21327d27a555..37d2ae2fd114a18628b36464258ec895299795b1 100644
--- a/third_party/WebKit/Source/web/WebPluginDocument.cpp
+++ b/third_party/WebKit/Source/web/WebPluginDocument.cpp
@@ -31,8 +31,10 @@
#include "public/web/WebPluginDocument.h"
#include "core/dom/Document.h"
-#include "core/exported/WebPluginContainerBase.h"
#include "core/html/PluginDocument.h"
+
+#include "web/WebPluginContainerImpl.h"
+
#include "platform/wtf/PassRefPtr.h"
namespace blink {
@@ -41,9 +43,9 @@
if (!IsPluginDocument())
return 0;
PluginDocument* doc = Unwrap<PluginDocument>();
- WebPluginContainerBase* container =
- ToWebPluginContainerBase(doc->GetPluginView());
- return container ? container->Plugin() : nullptr;
+ WebPluginContainerImpl* container =
+ ToWebPluginContainerImpl(doc->GetPluginView());
+ return container ? container->Plugin() : 0;
}
WebPluginDocument::WebPluginDocument(PluginDocument* elem)
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698