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

Unified Diff: sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp

Issue 850103003: Unprefix -webkit-filter and add a pixel test for it. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
diff --git a/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp b/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
index 2a281fc1ae5a89e472d9b4aebee687292a5645e9..6f91d252c993930ae0bfb261c028b1908cca4fe3 100644
--- a/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -313,6 +313,8 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPropertyID prop
return createFromLengthBox(style.clip(), style);
case CSSPropertyColor:
return createFromColor(property, style);
+ case CSSPropertyFilter:
+ return AnimatableFilterOperations::create(style.filter());
case CSSPropertyFlexGrow:
return createFromDouble(style.flexGrow(), AnimatableDouble::InterpolationIsNonContinuousWithZero);
case CSSPropertyFlexShrink:
@@ -393,8 +395,6 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPropertyID prop
if (ClipPathOperation* operation = style.clipPath())
return AnimatableClipPathOperation::create(operation);
return AnimatableUnknown::create(CSSValueNone);
- case CSSPropertyWebkitFilter:
- return AnimatableFilterOperations::create(style.filter());
case CSSPropertyWebkitMaskBoxImageOutset:
return createFromBorderImageLengthBox(style.maskBoxImageOutset(), style);
case CSSPropertyWebkitMaskBoxImageSlice:

Powered by Google App Engine
This is Rietveld 408576698