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

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

Issue 2886113002: Introduce WebPluginContainerBase to abstract WebPluginContainerImpl. (Closed)
Patch Set: Rebase 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 37d2ae2fd114a18628b36464258ec895299795b1..6b5c768aaee4067e00f7dbeb7dac21327d27a555 100644
--- a/third_party/WebKit/Source/web/WebPluginDocument.cpp
+++ b/third_party/WebKit/Source/web/WebPluginDocument.cpp
@@ -31,10 +31,8 @@
#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 {
@@ -43,9 +41,9 @@ WebPlugin* WebPluginDocument::Plugin() {
if (!IsPluginDocument())
return 0;
PluginDocument* doc = Unwrap<PluginDocument>();
- WebPluginContainerImpl* container =
- ToWebPluginContainerImpl(doc->GetPluginView());
- return container ? container->Plugin() : 0;
+ WebPluginContainerBase* container =
+ ToWebPluginContainerBase(doc->GetPluginView());
+ return container ? container->Plugin() : nullptr;
}
WebPluginDocument::WebPluginDocument(PluginDocument* elem)

Powered by Google App Engine
This is Rietveld 408576698