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

Unified Diff: Source/web/WebNode.cpp

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebNode.cpp
diff --git a/Source/web/WebNode.cpp b/Source/web/WebNode.cpp
index 5e864fd0eca119844f2463e4e7c7bf6308fde0e6..c4ad8773536785ee64f445f2045de4a45a5aaa38 100644
--- a/Source/web/WebNode.cpp
+++ b/Source/web/WebNode.cpp
@@ -42,7 +42,7 @@
#include "core/html/HTMLCollection.h"
#include "core/html/HTMLElement.h"
#include "core/layout/LayoutObject.h"
-#include "core/rendering/RenderPart.h"
+#include "core/layout/LayoutPart.h"
#include "modules/accessibility/AXObject.h"
#include "modules/accessibility/AXObjectCacheImpl.h"
#include "platform/Widget.h"
@@ -232,8 +232,8 @@ WebPluginContainer* WebNode::pluginContainer() const
const Node& coreNode = *constUnwrap<Node>();
if (isHTMLObjectElement(coreNode) || isHTMLEmbedElement(coreNode)) {
LayoutObject* object = coreNode.renderer();
- if (object && object->isRenderPart()) {
- Widget* widget = toRenderPart(object)->widget();
+ if (object && object->isLayoutPart()) {
+ Widget* widget = toLayoutPart(object)->widget();
if (widget && widget->isPluginContainer())
return toWebPluginContainerImpl(widget);
}
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698