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

Unified Diff: Source/core/layout/LayoutListBox.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/LayoutImage.cpp ('k') | Source/core/layout/LayoutListItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListBox.cpp
diff --git a/Source/core/layout/LayoutListBox.cpp b/Source/core/layout/LayoutListBox.cpp
index 34d5925b3b86519580c1962c2ca5ccd9ee6a2279..e87bed5dadbc1c48cabf71a51b2263f0f09c2011 100644
--- a/Source/core/layout/LayoutListBox.cpp
+++ b/Source/core/layout/LayoutListBox.cpp
@@ -118,7 +118,7 @@ LayoutUnit LayoutListBox::itemHeight() const
return defaultItemHeight();
if (!baseItemRenderer || !baseItemRenderer->isBox())
return defaultItemHeight();
- return toRenderBox(baseItemRenderer)->size().height();
+ return toLayoutBox(baseItemRenderer)->size().height();
}
void LayoutListBox::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const
@@ -129,7 +129,7 @@ void LayoutListBox::computeLogicalHeight(LayoutUnit, LayoutUnit logicalTop, Logi
height += borderAndPaddingHeight();
- RenderBox::computeLogicalHeight(height, logicalTop, computedValues);
+ LayoutBox::computeLogicalHeight(height, logicalTop, computedValues);
}
void LayoutListBox::stopAutoscroll()
« no previous file with comments | « Source/core/layout/LayoutImage.cpp ('k') | Source/core/layout/LayoutListItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698