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

Unified Diff: Source/core/animation/css/CSSAnimations.cpp

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: one more Created 5 years, 4 months 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: Source/core/animation/css/CSSAnimations.cpp
diff --git a/Source/core/animation/css/CSSAnimations.cpp b/Source/core/animation/css/CSSAnimations.cpp
index bd47b0b5f3ccfc5f322466d9ff547dd5ef3c732e..763f41460aa070cc2b94121968be0724e3e06004 100644
--- a/Source/core/animation/css/CSSAnimations.cpp
+++ b/Source/core/animation/css/CSSAnimations.cpp
@@ -337,6 +337,8 @@ void CSSAnimations::maybeApplyPendingUpdate(Element* element)
updated |= styleUpdate.model->updateNeutralKeyframeAnimatableValues(CSSPropertyTransform, styleUpdate.snapshot.transform);
if (styleUpdate.snapshot.webkitFilter)
updated |= styleUpdate.model->updateNeutralKeyframeAnimatableValues(CSSPropertyWebkitFilter, styleUpdate.snapshot.webkitFilter);
+ if (styleUpdate.snapshot.backdropFilter)
+ updated |= styleUpdate.model->updateNeutralKeyframeAnimatableValues(CSSPropertyBackdropFilter, styleUpdate.snapshot.backdropFilter);
if (updated) {
styleUpdate.animation->setOutdated();
styleUpdate.animation->setCompositorPending(true);

Powered by Google App Engine
This is Rietveld 408576698