Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp

Issue 2581243003: [SPInvalidation] Update paint properties when SVG resource change (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
index 5d72405397bbbfec2fa59de0ec37940204a2ee26..6bfb64b4d40e99dad8fb6f6fbf6be7633253c801 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
@@ -178,6 +178,8 @@ void LayoutSVGResourceContainer::markClientForInvalidation(
// entire <text>/<tspan>/... subtree.
client->setShouldDoFullPaintInvalidation(
PaintInvalidationSVGResourceChange);
+ // Invalidate paint properties to update effects if any.
+ client->setNeedsPaintPropertyUpdate();
break;
case ParentOnlyInvalidation:
break;

Powered by Google App Engine
This is Rietveld 408576698