| 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 78ef68ba3a88d4e6251932786fc5ffcaed9b5641..12870d5230287d4b81ed776be979ccd8fce8ed05 100644
|
| --- a/third_party/WebKit/Source/core/animation/UnderlyingLengthChecker.h
|
| +++ b/third_party/WebKit/Source/core/animation/UnderlyingLengthChecker.h
|
| @@ -7,14 +7,16 @@
|
|
|
| #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 PassOwnPtr<UnderlyingLengthChecker> create(size_t underlyingLength)
|
| + static std::unique_ptr<UnderlyingLengthChecker> create(size_t underlyingLength)
|
| {
|
| - return adoptPtr(new UnderlyingLengthChecker(underlyingLength));
|
| + return wrapUnique(new UnderlyingLengthChecker(underlyingLength));
|
| }
|
|
|
| static size_t getUnderlyingLength(const InterpolationValue& underlying)
|
|
|