| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| index 80e7f06ee69feb3e168863557e54114fd564b4dc..7cd271a0483aeeac1d94181c48fa79978e263e4c 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| @@ -161,8 +161,11 @@ void LayoutSVGRoot::layout() {
|
| // content may have been exposed, so mark the entire subtree as needing paint
|
| // invalidation checking. (It is only somewhat by coincidence that this
|
| // condition happens to be the same as the one for viewport changes.)
|
| - if (viewportMayHaveChanged)
|
| + if (viewportMayHaveChanged) {
|
| setMayNeedPaintInvalidationSubtree();
|
| + if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| + setNeedsPaintPropertyUpdate();
|
| + }
|
|
|
| SVGSVGElement* svg = toSVGSVGElement(node());
|
| ASSERT(svg);
|
|
|