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

Unified Diff: Source/core/animation/StringKeyframe.cpp

Issue 1325783004: Changed CSSPropertyObjectPosition to use legacy interpolation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/StringKeyframe.cpp
diff --git a/Source/core/animation/StringKeyframe.cpp b/Source/core/animation/StringKeyframe.cpp
index ae7c3e81857f3572921fa3568defdfdcb99ffbe7..f76d4ea53533d95e96be59bb65de6005f9daa74a 100644
--- a/Source/core/animation/StringKeyframe.cpp
+++ b/Source/core/animation/StringKeyframe.cpp
@@ -378,8 +378,6 @@ PassRefPtrWillBeRawPtr<Interpolation> StringKeyframe::CSSPropertySpecificKeyfram
case CSSPropertyBorderTopLeftRadius:
case CSSPropertyBorderTopRightRadius:
range = RangeNonNegative;
alancutter (OOO until 2018) 2015/09/01 03:38:45 We can use RangeNonNegative directly here.
sashab 2015/09/01 04:49:03 Done.
- // Fall through
- case CSSPropertyObjectPosition:
if (LengthPairStyleInterpolation::canCreateFrom(*fromCSSValue) && LengthPairStyleInterpolation::canCreateFrom(*toCSSValue))
return LengthPairStyleInterpolation::create(*fromCSSValue, *toCSSValue, property, range);
break;

Powered by Google App Engine
This is Rietveld 408576698