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

Unified Diff: Source/core/html/HTMLEmbedElement.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/core/html/HTMLEmbedElement.h ('k') | Source/core/html/HTMLFrameElementBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLEmbedElement.cpp
diff --git a/Source/core/html/HTMLEmbedElement.cpp b/Source/core/html/HTMLEmbedElement.cpp
index d3d49ba639d95702f1605573cce7c7a1fbf2c8ec..88134d66a3f8f438e382ad0981a036eaea372adf 100644
--- a/Source/core/html/HTMLEmbedElement.cpp
+++ b/Source/core/html/HTMLEmbedElement.cpp
@@ -33,8 +33,8 @@
#include "core/html/HTMLObjectElement.h"
#include "core/html/PluginDocument.h"
#include "core/html/parser/HTMLParserIdioms.h"
+#include "core/layout/LayoutPart.h"
#include "core/rendering/RenderEmbeddedObject.h"
-#include "core/rendering/RenderPart.h"
namespace blink {
@@ -52,18 +52,18 @@ PassRefPtrWillBeRawPtr<HTMLEmbedElement> HTMLEmbedElement::create(Document& docu
return element.release();
}
-static inline RenderPart* findPartRenderer(const Node* n)
+static inline LayoutPart* findPartRenderer(const Node* n)
{
if (!n->renderer())
n = Traversal<HTMLObjectElement>::firstAncestor(*n);
- if (n && n->renderer() && n->renderer()->isRenderPart())
- return toRenderPart(n->renderer());
+ if (n && n->renderer() && n->renderer()->isLayoutPart())
+ return toLayoutPart(n->renderer());
return nullptr;
}
-RenderPart* HTMLEmbedElement::existingRenderPart() const
+LayoutPart* HTMLEmbedElement::existingLayoutPart() const
{
return findPartRenderer(this);
}
« no previous file with comments | « Source/core/html/HTMLEmbedElement.h ('k') | Source/core/html/HTMLFrameElementBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698