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

Unified Diff: third_party/WebKit/Source/core/animation/ElementAnimations.cpp

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Decide on BUG 109224, minor test code tweaks. Created 4 years, 7 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: third_party/WebKit/Source/core/animation/ElementAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/ElementAnimations.cpp b/third_party/WebKit/Source/core/animation/ElementAnimations.cpp
index 1b1365022d6f33212668e0083d7f227ec7e44768..2f1a571472e1f0a3b893d2f82eda66b6e95dac06 100644
--- a/third_party/WebKit/Source/core/animation/ElementAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/ElementAnimations.cpp
@@ -59,7 +59,7 @@ void ElementAnimations::updateAnimationFlags(ComputedStyle& style)
|| effect.affects(PropertyHandle(CSSPropertyScale))
|| effect.affects(PropertyHandle(CSSPropertyTranslate)))
style.setHasCurrentTransformAnimation(true);
- if (effect.affects(PropertyHandle(CSSPropertyWebkitFilter)))
+ if (effect.affects(PropertyHandle(CSSPropertyFilter)))
style.setHasCurrentFilterAnimation(true);
if (effect.affects(PropertyHandle(CSSPropertyBackdropFilter)))
style.setHasCurrentBackdropFilterAnimation(true);
@@ -71,7 +71,7 @@ void ElementAnimations::updateAnimationFlags(ComputedStyle& style)
if (style.hasCurrentTransformAnimation())
style.setIsRunningTransformAnimationOnCompositor(m_animationStack.hasActiveAnimationsOnCompositor(CSSPropertyTransform));
if (style.hasCurrentFilterAnimation())
- style.setIsRunningFilterAnimationOnCompositor(m_animationStack.hasActiveAnimationsOnCompositor(CSSPropertyWebkitFilter));
+ style.setIsRunningFilterAnimationOnCompositor(m_animationStack.hasActiveAnimationsOnCompositor(CSSPropertyFilter));
if (style.hasCurrentBackdropFilterAnimation())
style.setIsRunningBackdropFilterAnimationOnCompositor(m_animationStack.hasActiveAnimationsOnCompositor(CSSPropertyBackdropFilter));
}

Powered by Google App Engine
This is Rietveld 408576698