Chromium Code Reviews| 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 4e3cbf445b5bb3b2f91f048884e177cc599ba291..f4394b90efa070269ca640f44097d4126224c71f 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
| @@ -1541,6 +1541,10 @@ StyleDifference LayoutObject::adjustStyleDifference( |
| diff.setNeedsPaintInvalidationObject(); |
| } |
| + if (!diff.needsPaintInvalidation() && isSVG() && hasClipPath() && |
|
fs
2016/11/07 12:03:30
Neither does this (very/overly case-specific.)
|
| + style()->visibility() == EVisibility::Visible) |
| + diff.setNeedsPaintInvalidationObject(); |
| + |
| // The answer to layerTypeRequired() for plugins, iframes, and canvas can |
| // change without the actual style changing, since it depends on whether we |
| // decide to composite these elements. When the/ layer status of one of these |