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

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

Issue 2564193002: [SPv2] Add CSS mix-blend-mode support (Closed)
Patch Set: fix msvc warning 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/LayoutSVGContainer.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
index 98112683664ca9df3c4904c2931b3671a6fc57a9..ed6239207638cd7ecfb5175648c0d9f860707110 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
@@ -150,8 +150,11 @@ void LayoutSVGContainer::descendantIsolationRequirementsChanged(
m_hasNonIsolatedBlendingDescendantsDirty = true;
break;
}
- if (SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this))
+ if (SVGLayoutSupport::willIsolateBlendingDescendantsForObject(this)) {
+ if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
+ setNeedsPaintPropertyUpdate();
return;
+ }
if (parent())
parent()->descendantIsolationRequirementsChanged(state);
}

Powered by Google App Engine
This is Rietveld 408576698