| Index: third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| index cbc644cfdee32a8f7086790c90e2d10262c1bf46..9fa8de371a34e8a0b8305f7cdc0d63ffaad05a2e 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSFontWeightInterpolationType.cpp
|
| @@ -6,6 +6,8 @@
|
|
|
| #include "core/css/CSSPrimitiveValueMappings.h"
|
| #include "core/css/resolver/StyleResolverState.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -57,9 +59,9 @@ static FontWeight doubleToFontWeight(double value)
|
|
|
| class ParentFontWeightChecker : public InterpolationType::ConversionChecker {
|
| public:
|
| - static PassOwnPtr<ParentFontWeightChecker> create(FontWeight fontWeight)
|
| + static std::unique_ptr<ParentFontWeightChecker> create(FontWeight fontWeight)
|
| {
|
| - return adoptPtr(new ParentFontWeightChecker(fontWeight));
|
| + return wrapUnique(new ParentFontWeightChecker(fontWeight));
|
| }
|
|
|
| private:
|
|
|