Index: Source/core/layout/LayoutMeter.cpp |
diff --git a/Source/core/layout/LayoutMeter.cpp b/Source/core/layout/LayoutMeter.cpp |
index 1992a662ee46b50a27cc3e0ec3a1a0d37c7b885f..cbf77d57ae7836e9f0ed69b86513bd7ffba7e6bd 100644 |
--- a/Source/core/layout/LayoutMeter.cpp |
+++ b/Source/core/layout/LayoutMeter.cpp |
@@ -51,7 +51,7 @@ HTMLMeterElement* LayoutMeter::meterElement() const |
void LayoutMeter::updateLogicalWidth() |
{ |
- RenderBox::updateLogicalWidth(); |
+ LayoutBox::updateLogicalWidth(); |
IntSize frameSize = LayoutTheme::theme().meterSizeForBounds(this, pixelSnappedIntRect(frameRect())); |
setLogicalWidth(isHorizontalWritingMode() ? frameSize.width() : frameSize.height()); |
@@ -59,7 +59,7 @@ void LayoutMeter::updateLogicalWidth() |
void LayoutMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const |
{ |
- RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues); |
+ LayoutBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues); |
LayoutRect frame = frameRect(); |
if (isHorizontalWritingMode()) |