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

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

Issue 1708293002: Revert of Add additive animation support for CSS properties perspective-origin and object-position (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_backgroundPositionAnimation
Patch Set: Created 4 years, 10 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/CSSLengthInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
index ccae56dc3fae6b5298073d6dbd3120033d771175..0bb78e13d797d231357a19f72a1ad918151ff686 100644
--- a/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSLengthInterpolationType.cpp
@@ -57,13 +57,6 @@
OwnPtr<InterpolableList> interpolableList = createNeutralInterpolableValue();
interpolableList->set(CSSPrimitiveValue::UnitTypePixels, InterpolableNumber::create(pixels));
return interpolableList.release();
-}
-
-InterpolationValue CSSLengthInterpolationType::createInterpolablePercent(double percent)
-{
- OwnPtr<InterpolableList> interpolableList = createNeutralInterpolableValue();
- interpolableList->set(CSSPrimitiveValue::UnitTypePercentage, InterpolableNumber::create(percent));
- return InterpolationValue(interpolableList.release(), CSSLengthNonInterpolableValue::create(true));
}
InterpolationValue CSSLengthInterpolationType::maybeConvertLength(const Length& length, float zoom)

Powered by Google App Engine
This is Rietveld 408576698