| Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| index a515034a173a1fca281b7d209d74ad448e4d77c1..a98cc1eed6d243f59a831aad67ca749e4f58ade6 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| @@ -1301,7 +1301,7 @@ void PaintLayerScrollableArea::resize(const PlatformEvent& evt, const LayoutSize
|
| element->setInlineStyleProperty(CSSPropertyMarginRight, box().marginRight() / zoomFactor, CSSPrimitiveValue::UnitType::Pixels);
|
| }
|
| LayoutUnit baseWidth = box().size().width() - (isBoxSizingBorder ? LayoutUnit() : box().borderAndPaddingWidth());
|
| - baseWidth = baseWidth / zoomFactor;
|
| + baseWidth = LayoutUnit(baseWidth / zoomFactor);
|
| element->setInlineStyleProperty(CSSPropertyWidth, roundToInt(baseWidth + difference.width()), CSSPrimitiveValue::UnitType::Pixels);
|
| }
|
|
|
| @@ -1312,7 +1312,7 @@ void PaintLayerScrollableArea::resize(const PlatformEvent& evt, const LayoutSize
|
| element->setInlineStyleProperty(CSSPropertyMarginBottom, box().marginBottom() / zoomFactor, CSSPrimitiveValue::UnitType::Pixels);
|
| }
|
| LayoutUnit baseHeight = box().size().height() - (isBoxSizingBorder ? LayoutUnit() : box().borderAndPaddingHeight());
|
| - baseHeight = baseHeight / zoomFactor;
|
| + baseHeight = LayoutUnit(baseHeight / zoomFactor);
|
| element->setInlineStyleProperty(CSSPropertyHeight, roundToInt(baseHeight + difference.height()), CSSPrimitiveValue::UnitType::Pixels);
|
| }
|
|
|
|
|