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 |
deleted file mode 100644 |
index 750f9510792ccc717cbf5445ac999c22cc848362..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/animation/CSSLengthPairInterpolationType.h |
+++ /dev/null |
@@ -1,33 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CSSLengthPairInterpolationType_h |
-#define CSSLengthPairInterpolationType_h |
- |
-#include "core/animation/CSSLengthInterpolationType.h" |
-#include "core/animation/CSSLengthListInterpolationType.h" |
-#include "core/animation/ListInterpolationFunctions.h" |
-#include "core/css/CSSValuePair.h" |
- |
-namespace blink { |
- |
-class CSSLengthPairInterpolationType : public CSSLengthListInterpolationType { |
-public: |
- CSSLengthPairInterpolationType(CSSPropertyID property) |
- : CSSLengthListInterpolationType(property) |
- { } |
- |
-private: |
- InterpolationValue maybeConvertValue(const CSSValue& value, const StyleResolverState&, ConversionCheckers&) const final |
- { |
- const CSSValuePair& pair = toCSSValuePair(value); |
- return ListInterpolationFunctions::createList(2, [&pair](size_t index) { |
- return CSSLengthInterpolationType::maybeConvertCSSValue(index == 0 ? pair.first() : pair.second()); |
- }); |
- } |
-}; |
- |
-} // namespace blink |
- |
-#endif // CSSLengthPairInterpolationType_h |