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

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

Issue 2729543002: Rename platform/Widget to platform/FrameViewBase in web. (Closed)
Patch Set: Created 3 years, 10 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 3d45d87534e28c4f9bd7f35bd1695cf9f9e866ec..c866548ae2ba3735b34d82d3b004a462dfeede99 100644
--- a/third_party/WebKit/Source/web/WebNode.cpp
+++ b/third_party/WebKit/Source/web/WebNode.cpp
@@ -47,7 +47,7 @@
#include "core/layout/LayoutPart.h"
#include "modules/accessibility/AXObject.h"
#include "modules/accessibility/AXObjectCacheImpl.h"
-#include "platform/Widget.h"
+#include "platform/FrameViewBase.h"
#include "public/platform/WebString.h"
#include "public/web/WebAXObject.h"
#include "public/web/WebDOMEvent.h"
@@ -186,9 +186,9 @@ WebPluginContainer* WebNode::pluginContainerFromNode(const Node* node) {
LayoutObject* object = node->layoutObject();
if (object && object->isLayoutPart()) {
- Widget* widget = toLayoutPart(object)->widget();
- if (widget && widget->isPluginContainer())
- return toWebPluginContainerImpl(widget);
+ FrameViewBase* frameViewBase = toLayoutPart(object)->widget();
+ if (frameViewBase && frameViewBase->isPluginContainer())
+ return toWebPluginContainerImpl(frameViewBase);
}
return nullptr;
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698