| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index 5ee3f334ad1f134cde7815fa0ea7f2ad23faa902..12a1ffac605679b1800ce9203b106515813337db 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -1490,7 +1490,9 @@ FloatRoundedRect ComputedStyle::getRoundedInnerBorderFor(
|
| bool includeLogicalRightEdge) const {
|
| LayoutRect innerRect(borderRect);
|
| innerRect.expand(insets);
|
| - innerRect.size().clampNegativeToZero();
|
| + LayoutSize innerRectSize = innerRect.size();
|
| + innerRectSize.clampNegativeToZero();
|
| + innerRect.setSize(innerRectSize);
|
|
|
| FloatRoundedRect roundedRect(pixelSnappedIntRect(innerRect));
|
|
|
|
|