| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index 2247a2895300e018935e9d8d9ff1e1ec06eaf9c5..d810a7de6e4245546c210c0fe46f2e511ccfe66e 100644
|
| --- a/Source/core/rendering/RenderObject.cpp
|
| +++ b/Source/core/rendering/RenderObject.cpp
|
| @@ -1485,8 +1485,8 @@ bool RenderObject::repaintAfterLayoutIfNeeded(const RenderLayerModelObject* repa
|
| if (!fullRepaint && style()->hasBorderRadius()) {
|
| // If a border-radius exists and width/height is smaller than
|
| // radius width/height, we cannot use delta-repaint.
|
| - RoundedRect oldRoundedRect = style()->getRoundedBorderFor(oldBounds, v);
|
| - RoundedRect newRoundedRect = style()->getRoundedBorderFor(newBounds, v);
|
| + RoundedRect oldRoundedRect = style()->getRoundedBorderFor(oldBounds);
|
| + RoundedRect newRoundedRect = style()->getRoundedBorderFor(newBounds);
|
| fullRepaint = oldRoundedRect.radii() != newRoundedRect.radii();
|
| }
|
| if (!fullRepaint) {
|
| @@ -1550,7 +1550,7 @@ bool RenderObject::repaintAfterLayoutIfNeeded(const RenderLayerModelObject* repa
|
| int borderRight = isBox() ? toRenderBox(this)->borderRight() : 0;
|
| LayoutUnit boxWidth = isBox() ? toRenderBox(this)->width() : LayoutUnit();
|
| LayoutUnit minInsetRightShadowExtent = min<LayoutUnit>(-insetShadowExtent.right(), min<LayoutUnit>(newBounds.width(), oldBounds.width()));
|
| - LayoutUnit borderWidth = max<LayoutUnit>(borderRight, max<LayoutUnit>(valueForLength(style()->borderTopRightRadius().width(), boxWidth, v), valueForLength(style()->borderBottomRightRadius().width(), boxWidth, v)));
|
| + LayoutUnit borderWidth = max<LayoutUnit>(borderRight, max<LayoutUnit>(valueForLength(style()->borderTopRightRadius().width(), boxWidth), valueForLength(style()->borderBottomRightRadius().width(), boxWidth)));
|
| LayoutUnit decorationsWidth = max<LayoutUnit>(-outlineStyle->outlineOffset(), borderWidth + minInsetRightShadowExtent) + max<LayoutUnit>(outlineWidth, shadowRight);
|
| LayoutRect rightRect(newOutlineBox.x() + min(newOutlineBox.width(), oldOutlineBox.width()) - decorationsWidth,
|
| newOutlineBox.y(),
|
| @@ -1570,7 +1570,7 @@ bool RenderObject::repaintAfterLayoutIfNeeded(const RenderLayerModelObject* repa
|
| int borderBottom = isBox() ? toRenderBox(this)->borderBottom() : 0;
|
| LayoutUnit boxHeight = isBox() ? toRenderBox(this)->height() : LayoutUnit();
|
| LayoutUnit minInsetBottomShadowExtent = min<LayoutUnit>(-insetShadowExtent.bottom(), min<LayoutUnit>(newBounds.height(), oldBounds.height()));
|
| - LayoutUnit borderHeight = max<LayoutUnit>(borderBottom, max<LayoutUnit>(valueForLength(style()->borderBottomLeftRadius().height(), boxHeight, v), valueForLength(style()->borderBottomRightRadius().height(), boxHeight, v)));
|
| + LayoutUnit borderHeight = max<LayoutUnit>(borderBottom, max<LayoutUnit>(valueForLength(style()->borderBottomLeftRadius().height(), boxHeight), valueForLength(style()->borderBottomRightRadius().height(), boxHeight)));
|
| LayoutUnit decorationsHeight = max<LayoutUnit>(-outlineStyle->outlineOffset(), borderHeight + minInsetBottomShadowExtent) + max<LayoutUnit>(outlineWidth, shadowBottom);
|
| LayoutRect bottomRect(newOutlineBox.x(),
|
| min(newOutlineBox.maxY(), oldOutlineBox.maxY()) - decorationsHeight,
|
|
|