| Index: third_party/WebKit/Source/core/layout/LayoutMeter.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutMeter.cpp b/third_party/WebKit/Source/core/layout/LayoutMeter.cpp
|
| index 209e03109da2a9d152a1c11b6655833baa145183..8cf7a3dffedd7d2dfc490da62e5ff712ff126390 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutMeter.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutMeter.cpp
|
| @@ -52,7 +52,7 @@ void LayoutMeter::updateLogicalWidth()
|
| LayoutBox::updateLogicalWidth();
|
|
|
| IntSize frameSize = LayoutTheme::theme().meterSizeForBounds(*this, pixelSnappedIntRect(frameRect()));
|
| - setLogicalWidth(isHorizontalWritingMode() ? frameSize.width() : frameSize.height());
|
| + setLogicalWidth(LayoutUnit(isHorizontalWritingMode() ? frameSize.width() : frameSize.height()));
|
| }
|
|
|
| void LayoutMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const
|
| @@ -65,7 +65,7 @@ void LayoutMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logi
|
| else
|
| frame.setWidth(computedValues.m_extent);
|
| IntSize frameSize = LayoutTheme::theme().meterSizeForBounds(*this, pixelSnappedIntRect(frame));
|
| - computedValues.m_extent = isHorizontalWritingMode() ? frameSize.height() : frameSize.width();
|
| + computedValues.m_extent = LayoutUnit(isHorizontalWritingMode() ? frameSize.height() : frameSize.width());
|
| }
|
|
|
| void LayoutMeter::updateFromElement()
|
|
|