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

Unified Diff: Source/core/dom/Node.cpp

Issue 944923004: rendering/RenderBoxModelObject -> layout/LayoutBoxModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/dom/Node.h ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 4fa407316450db55b39f0dcd6cfb2f39883ca9d4..f3b7800cbbd41266a6d0dff775de84021637171c 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -602,10 +602,10 @@ RenderBox* Node::renderBox() const
return renderer && renderer->isBox() ? toRenderBox(renderer) : nullptr;
}
-RenderBoxModelObject* Node::renderBoxModelObject() const
+LayoutBoxModelObject* Node::layoutBoxModelObject() const
{
LayoutObject* renderer = this->renderer();
- return renderer && renderer->isBoxModelObject() ? toRenderBoxModelObject(renderer) : nullptr;
+ return renderer && renderer->isBoxModelObject() ? toLayoutBoxModelObject(renderer) : nullptr;
}
LayoutRect Node::boundingBox() const
@@ -619,7 +619,7 @@ bool Node::hasNonEmptyBoundingBox() const
{
// Before calling absoluteRects, check for the common case where the renderer
// is non-empty, since this is a faster check and almost always returns true.
- RenderBoxModelObject* box = renderBoxModelObject();
+ LayoutBoxModelObject* box = layoutBoxModelObject();
if (!box)
return false;
if (!box->borderBoundingBox().isEmpty())
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698