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() |