| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index f1a02b92ae994f4d8b3b39d222de81e8fa5572c3..91979fd38117e3f9fa00d23bcdf3398f13c88e3d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1736,6 +1736,9 @@ void LayoutObject::setStyle(PassRefPtr<ComputedStyle> style) {
|
| setShouldDoFullPaintInvalidationWithoutGeometryChange();
|
| }
|
|
|
| + if (diff.needsVisualRectUpdate())
|
| + setMayNeedPaintInvalidation();
|
| +
|
| // Text nodes share style with their parents but the paint properties don't
|
| // apply to them, hence the !isText() check.
|
| if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() && !isText() &&
|
|
|