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

Unified Diff: third_party/WebKit/Source/core/animation/LengthPropertyFunctions.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/LengthPropertyFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp b/third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp
index a4550f0adb09462d0d96334b7654f1702b643f16..f60b55e8cf2b7a3aa2fcb54f2f20dae6e71e79f5 100644
--- a/third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/LengthPropertyFunctions.cpp
@@ -169,8 +169,8 @@ bool LengthPropertyFunctions::getLength(CSSPropertyID property, const ComputedSt
case CSSPropertyMinWidth:
result = style.minWidth();
return true;
- case CSSPropertyMotionOffset:
- result = style.motionOffset();
+ case CSSPropertyOffsetDistance:
+ result = style.offsetDistance();
return true;
case CSSPropertyPaddingBottom:
result = style.paddingBottom();
@@ -354,8 +354,8 @@ bool LengthPropertyFunctions::setLength(CSSPropertyID property, ComputedStyle& s
case CSSPropertyMinWidth:
style.setMinWidth(value);
return true;
- case CSSPropertyMotionOffset:
- style.setMotionOffset(value);
+ case CSSPropertyOffsetDistance:
+ style.setOffsetDistance(value);
return true;
case CSSPropertyPaddingBottom:
style.setPaddingBottom(value);

Powered by Google App Engine
This is Rietveld 408576698