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

Unified Diff: third_party/WebKit/Source/web/WebNode.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/WebNode.cpp
diff --git a/third_party/WebKit/Source/web/WebNode.cpp b/third_party/WebKit/Source/web/WebNode.cpp
index c83ac895556051fbc069c7dab82fbf255d5d7216..4f9f48b9fde0e1ddb0ceec374a27d461aa97bb36 100644
--- a/third_party/WebKit/Source/web/WebNode.cpp
+++ b/third_party/WebKit/Source/web/WebNode.cpp
@@ -41,6 +41,7 @@
#include "core/editing/EditingUtilities.h"
#include "core/editing/serializers/Serialization.h"
#include "core/events/Event.h"
+#include "core/exported/WebPluginContainerBase.h"
#include "core/html/HTMLCollection.h"
#include "core/html/HTMLElement.h"
#include "core/layout/LayoutObject.h"
@@ -55,7 +56,6 @@
#include "public/web/WebElement.h"
#include "public/web/WebElementCollection.h"
#include "public/web/WebPluginContainer.h"
-#include "web/WebPluginContainerImpl.h"
namespace blink {
@@ -185,7 +185,7 @@ WebPluginContainer* WebNode::PluginContainerFromNode(const Node* node) {
if (object && object->IsLayoutPart()) {
PluginView* plugin = ToLayoutPart(object)->Plugin();
if (plugin && plugin->IsPluginContainer())
- return ToWebPluginContainerImpl(plugin);
+ return ToWebPluginContainerBase(plugin);
}
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698