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

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

Issue 2065593002: Unprefix the CSS 'filter' property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove disabler. Try different DCHECK expressions. Created 4 years, 6 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 5726411f6a86483211f9abc94193ceefdca1f3d7..ac2e90d31f144c9bfffc1365fb6bf0051c55f304 100644
--- a/third_party/WebKit/Source/core/animation/ElementAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/ElementAnimations.cpp
@@ -57,7 +57,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);
@@ -69,7 +69,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