| 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..5bd4753dc0fdf625c178b6a47adbdd437395062d 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp
|
| @@ -51,6 +51,9 @@ void PaintLayerResourceInfo::resourceContentChanged() {
|
| DCHECK(m_layer);
|
| LayoutObject* layoutObject = m_layer->layoutObject();
|
| layoutObject->setShouldDoFullPaintInvalidation();
|
| + // The effect paint property nodes depend on SVG filters so we need
|
| + // to update these properties when filter resources change.
|
| + layoutObject->setNeedsPaintPropertyUpdate();
|
| const ComputedStyle& style = layoutObject->styleRef();
|
| if (style.hasFilter() && style.filter().hasReferenceFilter())
|
| invalidateFilterChain();
|
| @@ -60,6 +63,9 @@ void PaintLayerResourceInfo::resourceElementChanged() {
|
| DCHECK(m_layer);
|
| LayoutObject* layoutObject = m_layer->layoutObject();
|
| layoutObject->setShouldDoFullPaintInvalidation();
|
| + // The effect paint property nodes depend on SVG filters so we need
|
| + // to update these properties when filter resources change.
|
| + layoutObject->setNeedsPaintPropertyUpdate();
|
| const ComputedStyle& style = layoutObject->styleRef();
|
| if (style.hasFilter() && style.filter().hasReferenceFilter())
|
| invalidateFilterChain();
|
|
|