Index: third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h |
diff --git a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h |
index 23c64f433dc0d3137b35e8518d1ec6eae62c55af..02f60d857e04e5fce3ba2d1a992e03cf8a7ea4b8 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h |
+++ b/third_party/WebKit/Source/core/animation/CSSColorInterpolationType.h |
@@ -8,7 +8,6 @@ |
#include "core/CSSValueKeywords.h" |
#include "core/animation/CSSInterpolationType.h" |
#include "platform/graphics/Color.h" |
-#include <memory> |
namespace blink { |
@@ -23,10 +22,10 @@ public: |
InterpolationValue maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final; |
void apply(const InterpolableValue&, const NonInterpolableValue*, InterpolationEnvironment&) const final; |
- static std::unique_ptr<InterpolableValue> createInterpolableColor(const Color&); |
- static std::unique_ptr<InterpolableValue> createInterpolableColor(CSSValueID); |
- static std::unique_ptr<InterpolableValue> createInterpolableColor(const StyleColor&); |
- static std::unique_ptr<InterpolableValue> maybeCreateInterpolableColor(const CSSValue&); |
+ static PassOwnPtr<InterpolableValue> createInterpolableColor(const Color&); |
+ static PassOwnPtr<InterpolableValue> createInterpolableColor(CSSValueID); |
+ static PassOwnPtr<InterpolableValue> createInterpolableColor(const StyleColor&); |
+ static PassOwnPtr<InterpolableValue> maybeCreateInterpolableColor(const CSSValue&); |
static Color resolveInterpolableColor(const InterpolableValue& interpolableColor, const StyleResolverState&, bool isVisited = false, bool isTextDecoration = false); |
private: |