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