Index: third_party/WebKit/Source/core/animation/UnderlyingLengthChecker.h |
diff --git a/third_party/WebKit/Source/core/animation/UnderlyingLengthChecker.h b/third_party/WebKit/Source/core/animation/UnderlyingLengthChecker.h |
index 12870d5230287d4b81ed776be979ccd8fce8ed05..78ef68ba3a88d4e6251932786fc5ffcaed9b5641 100644 |
--- a/third_party/WebKit/Source/core/animation/UnderlyingLengthChecker.h |
+++ b/third_party/WebKit/Source/core/animation/UnderlyingLengthChecker.h |
@@ -7,16 +7,14 @@ |
#include "core/animation/InterpolableValue.h" |
#include "core/animation/InterpolationType.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
class UnderlyingLengthChecker : public InterpolationType::ConversionChecker { |
public: |
- static std::unique_ptr<UnderlyingLengthChecker> create(size_t underlyingLength) |
+ static PassOwnPtr<UnderlyingLengthChecker> create(size_t underlyingLength) |
{ |
- return wrapUnique(new UnderlyingLengthChecker(underlyingLength)); |
+ return adoptPtr(new UnderlyingLengthChecker(underlyingLength)); |
} |
static size_t getUnderlyingLength(const InterpolationValue& underlying) |