| Index: third_party/WebKit/Source/core/animation/CSSLengthPairInterpolationType.h
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSLengthPairInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSLengthPairInterpolationType.h
|
| index 750f9510792ccc717cbf5445ac999c22cc848362..d167f92ee008e964e182101586599495d55da392 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSLengthPairInterpolationType.h
|
| +++ b/third_party/WebKit/Source/core/animation/CSSLengthPairInterpolationType.h
|
| @@ -5,8 +5,8 @@
|
| #ifndef CSSLengthPairInterpolationType_h
|
| #define CSSLengthPairInterpolationType_h
|
|
|
| -#include "core/animation/CSSLengthInterpolationType.h"
|
| #include "core/animation/CSSLengthListInterpolationType.h"
|
| +#include "core/animation/LengthInterpolationFunctions.h"
|
| #include "core/animation/ListInterpolationFunctions.h"
|
| #include "core/css/CSSValuePair.h"
|
|
|
| @@ -23,7 +23,8 @@ private:
|
| {
|
| const CSSValuePair& pair = toCSSValuePair(value);
|
| return ListInterpolationFunctions::createList(2, [&pair](size_t index) {
|
| - return CSSLengthInterpolationType::maybeConvertCSSValue(index == 0 ? pair.first() : pair.second());
|
| + const CSSValue& item = index == 0 ? pair.first() : pair.second();
|
| + return LengthInterpolationFunctions::maybeConvertCSSValue(item);
|
| });
|
| }
|
| };
|
|
|