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

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

Issue 2607003002: Set needs paint property update for changes of SVG isolation and blending. (Closed)
Patch Set: none 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/LayoutSVGModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
index 98329bde9c44b93ab666d396d571473b4f1ffc97..7e3c825149e0ec7c04ddc5233dc6c58f92d1b8c3 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
@@ -125,6 +125,9 @@ void LayoutSVGModelObject::styleDidChange(StyleDifference diff,
parent()->descendantIsolationRequirementsChanged(
style()->hasBlendMode() ? DescendantIsolationRequired
: DescendantIsolationNeedsUpdate);
+
+ if (hasBlendModeChanged)
+ setNeedsPaintPropertyUpdate();
}
LayoutObject::styleDidChange(diff, oldStyle);

Powered by Google App Engine
This is Rietveld 408576698