Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp |
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp b/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp |
| index a41e6f87f67ef3bfa9abe0db8fd50f4542ef0dfa..5bbcaca1e7add64cbfc22d9debb6353c0131edf6 100644 |
| --- a/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp |
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp |
| @@ -51,6 +51,7 @@ void PaintLayerResourceInfo::resourceContentChanged() { |
| DCHECK(m_layer); |
| LayoutObject* layoutObject = m_layer->layoutObject(); |
| layoutObject->setShouldDoFullPaintInvalidation(); |
| + layoutObject->setNeedsPaintPropertyUpdate(); |
|
pdr.
2016/12/16 21:13:37
Can you add a comment here and below:
// The effec
Xianzhu
2016/12/16 23:01:43
Done.
|
| const ComputedStyle& style = layoutObject->styleRef(); |
| if (style.hasFilter() && style.filter().hasReferenceFilter()) |
| invalidateFilterChain(); |
| @@ -60,6 +61,7 @@ void PaintLayerResourceInfo::resourceElementChanged() { |
| DCHECK(m_layer); |
| LayoutObject* layoutObject = m_layer->layoutObject(); |
| layoutObject->setShouldDoFullPaintInvalidation(); |
| + layoutObject->setNeedsPaintPropertyUpdate(); |
| const ComputedStyle& style = layoutObject->styleRef(); |
| if (style.hasFilter() && style.filter().hasReferenceFilter()) |
| invalidateFilterChain(); |