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

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

Issue 2241993002: CSS Motion Path: New names for properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 3 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/PropertyInterpolationTypesMapping.cpp
diff --git a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
index 1ecb782c17ad8145506dff8df368d6600203cdf2..547a21e4696b0737c39e411b15ed8ccc7f36dc2a 100644
--- a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
+++ b/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp
@@ -18,8 +18,8 @@
#include "core/animation/CSSLengthInterpolationType.h"
#include "core/animation/CSSLengthListInterpolationType.h"
#include "core/animation/CSSLengthPairInterpolationType.h"
-#include "core/animation/CSSMotionRotationInterpolationType.h"
#include "core/animation/CSSNumberInterpolationType.h"
+#include "core/animation/CSSOffsetRotationInterpolationType.h"
#include "core/animation/CSSPaintInterpolationType.h"
#include "core/animation/CSSPathInterpolationType.h"
#include "core/animation/CSSPositionAxisListInterpolationType.h"
@@ -87,7 +87,7 @@ const InterpolationTypes& PropertyInterpolationTypesMapping::get(const PropertyH
case CSSPropertyMaxWidth:
case CSSPropertyMinHeight:
case CSSPropertyMinWidth:
- case CSSPropertyMotionOffset:
+ case CSSPropertyOffsetDistance:
case CSSPropertyOutlineOffset:
case CSSPropertyOutlineWidth:
case CSSPropertyPaddingBottom:
@@ -187,8 +187,8 @@ const InterpolationTypes& PropertyInterpolationTypesMapping::get(const PropertyH
case CSSPropertyClip:
applicableTypes->append(wrapUnique(new CSSClipInterpolationType(cssProperty)));
break;
- case CSSPropertyMotionRotation:
- applicableTypes->append(wrapUnique(new CSSMotionRotationInterpolationType(cssProperty)));
+ case CSSPropertyOffsetRotation:
+ applicableTypes->append(wrapUnique(new CSSOffsetRotationInterpolationType(cssProperty)));
break;
case CSSPropertyBackgroundPositionX:
case CSSPropertyBackgroundPositionY:
@@ -196,8 +196,8 @@ const InterpolationTypes& PropertyInterpolationTypesMapping::get(const PropertyH
case CSSPropertyWebkitMaskPositionY:
applicableTypes->append(wrapUnique(new CSSPositionAxisListInterpolationType(cssProperty)));
break;
- case CSSPropertyPerspectiveOrigin:
case CSSPropertyObjectPosition:
+ case CSSPropertyPerspectiveOrigin:
applicableTypes->append(wrapUnique(new CSSPositionInterpolationType(cssProperty)));
break;
case CSSPropertyBorderBottomLeftRadius:

Powered by Google App Engine
This is Rietveld 408576698