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

Unified Diff: third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.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/css/resolver/AnimatedStyleBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
index 7d56b29147f2ef3a6d0d6524757d3b1d2048e3fb..b8d25929a2e09b49eab5d6c717aa8f40095a14ae 100644
--- a/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
@@ -641,13 +641,13 @@ void AnimatedStyleBuilder::applyProperty(CSSPropertyID property, StyleResolverSt
case CSSPropertyTransformOrigin:
style->setTransformOrigin(animatableValueToTransformOrigin(value, state));
return;
- case CSSPropertyMotionOffset:
- style->setMotionOffset(animatableValueToLength(value, state));
+ case CSSPropertyOffsetDistance:
+ style->setOffsetDistance(animatableValueToLength(value, state));
return;
- case CSSPropertyMotionRotation:
- style->setMotionRotation(StyleMotionRotation(
+ case CSSPropertyOffsetRotation:
+ style->setOffsetRotation(StyleOffsetRotation(
toAnimatableDoubleAndBool(value)->toDouble(),
- toAnimatableDoubleAndBool(value)->flag() ? MotionRotationAuto : MotionRotationFixed));
+ toAnimatableDoubleAndBool(value)->flag() ? OffsetRotationAuto : OffsetRotationFixed));
return;
case CSSPropertyWebkitPerspectiveOriginX:
style->setPerspectiveOriginX(animatableValueToLength(value, state));

Powered by Google App Engine
This is Rietveld 408576698