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

Unified Diff: Source/core/layout/LayoutFrameSet.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (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/layout/LayoutFrameSet.h ('k') | Source/core/layout/LayoutHTMLCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutFrameSet.cpp
diff --git a/Source/core/layout/LayoutFrameSet.cpp b/Source/core/layout/LayoutFrameSet.cpp
index 278f94e65c0b9a402d65fcf1f4a8d691d73a45ee..b7608614d0b32a0381a7a30147aae96dd789aa60 100644
--- a/Source/core/layout/LayoutFrameSet.cpp
+++ b/Source/core/layout/LayoutFrameSet.cpp
@@ -40,7 +40,7 @@
namespace blink {
LayoutFrameSet::LayoutFrameSet(HTMLFrameSetElement* frameSet)
- : RenderBox(frameSet)
+ : LayoutBox(frameSet)
, m_isResizing(false)
, m_isChildResizing(false)
{
@@ -380,7 +380,7 @@ void LayoutFrameSet::layout()
positionFrames();
- RenderBox::layout();
+ LayoutBox::layout();
computeEdgeInfo();
@@ -389,7 +389,7 @@ void LayoutFrameSet::layout()
clearNeedsLayout();
}
-static void clearNeedsLayoutOnHiddenFrames(RenderBox* frame)
+static void clearNeedsLayoutOnHiddenFrames(LayoutBox* frame)
{
for (; frame; frame = frame->nextSiblingBox()) {
frame->setWidth(0);
@@ -401,7 +401,7 @@ static void clearNeedsLayoutOnHiddenFrames(RenderBox* frame)
void LayoutFrameSet::positionFrames()
{
- RenderBox* child = firstChildBox();
+ LayoutBox* child = firstChildBox();
if (!child)
return;
@@ -571,7 +571,7 @@ CursorDirective LayoutFrameSet::getCursor(const LayoutPoint& point, Cursor& curs
cursor = columnResizeCursor();
return SetCursor;
}
- return RenderBox::getCursor(point, cursor);
+ return LayoutBox::getCursor(point, cursor);
}
} // namespace blink
« no previous file with comments | « Source/core/layout/LayoutFrameSet.h ('k') | Source/core/layout/LayoutHTMLCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698