| Index: Source/core/layout/LayoutObject.cpp
|
| diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
|
| index 50aee305bd11df4acea16886236ff557663ecec2..1314d92687060d97a067f14ade32c61d9543f138 100644
|
| --- a/Source/core/layout/LayoutObject.cpp
|
| +++ b/Source/core/layout/LayoutObject.cpp
|
| @@ -1403,11 +1403,10 @@ PaintInvalidationReason LayoutObject::paintInvalidationReason(const LayoutBoxMod
|
| if (shouldDoFullPaintInvalidation())
|
| return m_bitfields.fullPaintInvalidationReason();
|
|
|
| - // The focus ring may change because of position change of descendants. For simplicity,
|
| + // The outline may change shape because of position change of descendants. For simplicity,
|
| // just force full paint invalidation if this object is marked for checking paint invalidation
|
| // for any reason.
|
| - // TODO(wangxianzhu): extend this to all outlines.
|
| - if (styleRef().outlineStyleIsAuto())
|
| + if (styleRef().hasOutline())
|
| return PaintInvalidationOutline;
|
|
|
| // If the bounds are the same then we know that none of the statements below
|
|
|