| Index: third_party/WebKit/Source/core/animation/InterpolationTypesMap.h
|
| diff --git a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.h b/third_party/WebKit/Source/core/animation/InterpolationTypesMap.h
|
| similarity index 57%
|
| rename from third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.h
|
| rename to third_party/WebKit/Source/core/animation/InterpolationTypesMap.h
|
| index 57fc60556f7282c23b01315bff1e3711058b2313..a52a795c63edff2065c08bd7b31345324e389a96 100644
|
| --- a/third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.h
|
| +++ b/third_party/WebKit/Source/core/animation/InterpolationTypesMap.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef PropertyInterpolationTypesMapping_h
|
| -#define PropertyInterpolationTypesMapping_h
|
| +#ifndef InterpolationTypesMap_h
|
| +#define InterpolationTypesMap_h
|
|
|
| #include "wtf/Vector.h"
|
| #include <memory>
|
| @@ -15,11 +15,14 @@ class PropertyHandle;
|
|
|
| using InterpolationTypes = Vector<std::unique_ptr<const InterpolationType>>;
|
|
|
| -namespace PropertyInterpolationTypesMapping {
|
| +class InterpolationTypesMap {
|
| + STACK_ALLOCATED();
|
|
|
| -const InterpolationTypes& get(const PropertyHandle&);
|
| + public:
|
| + virtual const InterpolationTypes& get(const PropertyHandle&) const = 0;
|
| + virtual size_t version() const { return 0; }
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // PropertyInterpolationTypesMapping_h
|
| +#endif // InterpolationTypesMap_h
|
|
|