| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index 2b6ae7a1b380aa24cd0a05fc8ac3a1fc2914f332..47b83f50b482297153dcb13533098d072fc04d08 100644
|
| --- a/Source/core/rendering/RenderObject.cpp
|
| +++ b/Source/core/rendering/RenderObject.cpp
|
| @@ -1514,7 +1514,9 @@ bool RenderObject::repaintAfterLayoutIfNeeded(const RenderLayerModelObject* repa
|
| // This ASSERT fails due to animations. See https://bugs.webkit.org/show_bug.cgi?id=37048
|
| // ASSERT(!newOutlineBoxRectPtr || *newOutlineBoxRectPtr == outlineBoundsForRepaint(repaintContainer));
|
| newOutlineBox = newOutlineBoxRectPtr ? *newOutlineBoxRectPtr : outlineBoundsForRepaint(repaintContainer);
|
| - if (newOutlineBox.location() != oldOutlineBox.location() || (mustRepaintBackgroundOrBorder() && (newBounds != oldBounds || newOutlineBox != oldOutlineBox)))
|
| +
|
| + if ((hasOutlineOrBoxShadow() && newOutlineBox.location() != oldOutlineBox.location())
|
| + || (mustRepaintBackgroundOrBorder() && (newBounds != oldBounds || (hasOutlineOrBoxShadow() && newOutlineBox != oldOutlineBox))))
|
| fullRepaint = true;
|
| }
|
|
|
|
|