| Index: third_party/WebKit/Source/core/frame/PageScaleConstraintsSet.h
|
| diff --git a/third_party/WebKit/Source/core/frame/PageScaleConstraintsSet.h b/third_party/WebKit/Source/core/frame/PageScaleConstraintsSet.h
|
| index 7104d6daa23c45c9125d662b71d2cba831619383..9dd45f92330b66b179515bb4a6d8261c8ce1518d 100644
|
| --- a/third_party/WebKit/Source/core/frame/PageScaleConstraintsSet.h
|
| +++ b/third_party/WebKit/Source/core/frame/PageScaleConstraintsSet.h
|
| @@ -37,7 +37,8 @@
|
| #include "platform/Length.h"
|
| #include "platform/geometry/IntSize.h"
|
| #include "wtf/Allocator.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -46,9 +47,9 @@ namespace blink {
|
| class CORE_EXPORT PageScaleConstraintsSet {
|
| USING_FAST_MALLOC(PageScaleConstraintsSet);
|
| public:
|
| - static PassOwnPtr<PageScaleConstraintsSet> create()
|
| + static std::unique_ptr<PageScaleConstraintsSet> create()
|
| {
|
| - return adoptPtr(new PageScaleConstraintsSet);
|
| + return wrapUnique(new PageScaleConstraintsSet);
|
| }
|
|
|
| void setDefaultConstraints(const PageScaleConstraints&);
|
|
|