Index: third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp |
index 019fe0899bf15c9c1edaf561763a3922f43606e2..4cf925d7891f4d170425dfa1d2678900808437a0 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp |
@@ -9,8 +9,6 @@ |
#include "core/css/CSSValueList.h" |
#include "core/css/resolver/StyleResolverState.h" |
#include "core/style/ComputedStyle.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
@@ -65,9 +63,9 @@ namespace { |
class UnderlyingIndentModeChecker : public InterpolationType::ConversionChecker { |
public: |
- static std::unique_ptr<UnderlyingIndentModeChecker> create(const IndentMode& mode) |
+ static PassOwnPtr<UnderlyingIndentModeChecker> create(const IndentMode& mode) |
{ |
- return wrapUnique(new UnderlyingIndentModeChecker(mode)); |
+ return adoptPtr(new UnderlyingIndentModeChecker(mode)); |
} |
bool isValid(const InterpolationEnvironment&, const InterpolationValue& underlying) const final |
@@ -85,9 +83,9 @@ private: |
class InheritedIndentModeChecker : public InterpolationType::ConversionChecker { |
public: |
- static std::unique_ptr<InheritedIndentModeChecker> create(const IndentMode& mode) |
+ static PassOwnPtr<InheritedIndentModeChecker> create(const IndentMode& mode) |
{ |
- return wrapUnique(new InheritedIndentModeChecker(mode)); |
+ return adoptPtr(new InheritedIndentModeChecker(mode)); |
} |
bool isValid(const InterpolationEnvironment& environment, const InterpolationValue&) const final |