| Index: third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| index 355c45b9d2950dd85e890980b58dfbf2854a7db7..801c4947a524f5f209372c6bb2eed47a56c74722 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| @@ -370,10 +370,10 @@ FloatRoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(
|
| }
|
| }
|
|
|
| - FloatRectOutsets insets(-fractionalInset * edges[BSTop].width,
|
| - -fractionalInset * edges[BSRight].width,
|
| - -fractionalInset * edges[BSBottom].width,
|
| - -fractionalInset * edges[BSLeft].width);
|
| + FloatRectOutsets insets(-fractionalInset * edges[BSTop].width(),
|
| + -fractionalInset * edges[BSRight].width(),
|
| + -fractionalInset * edges[BSBottom].width(),
|
| + -fractionalInset * edges[BSLeft].width());
|
|
|
| FloatRoundedRect backgroundRoundedRect = getBackgroundRoundedRect(
|
| obj, borderRect, box, boxSize.width(), boxSize.height(),
|
| @@ -659,8 +659,8 @@ void BoxPainter::paintFillLayer(const LayoutBoxModelObject& obj,
|
| clipToBorder.emplace(obj, paintInfo, rect, border, ApplyToContext);
|
| }
|
|
|
| - int bLeft = info.includeLeftEdge ? obj.borderLeft() : 0;
|
| - int bRight = info.includeRightEdge ? obj.borderRight() : 0;
|
| + LayoutUnit bLeft = info.includeLeftEdge ? obj.borderLeft() : LayoutUnit();
|
| + LayoutUnit bRight = info.includeRightEdge ? obj.borderRight() : LayoutUnit();
|
| LayoutUnit pLeft = info.includeLeftEdge ? obj.paddingLeft() : LayoutUnit();
|
| LayoutUnit pRight = info.includeRightEdge ? obj.paddingRight() : LayoutUnit();
|
|
|
|
|