Index: Source/core/frame/PageScaleConstraintsSet.h |
diff --git a/Source/core/frame/PageScaleConstraintsSet.h b/Source/core/frame/PageScaleConstraintsSet.h |
index 4b09cd11e126610f4f0f97e2b664b5d42eee85ec..da79c7f4b11b49c83791850839a68a5166216b74 100644 |
--- a/Source/core/frame/PageScaleConstraintsSet.h |
+++ b/Source/core/frame/PageScaleConstraintsSet.h |
@@ -35,7 +35,7 @@ |
#include "core/frame/PageScaleConstraints.h" |
#include "platform/Length.h" |
#include "platform/geometry/IntSize.h" |
-#include "platform/heap/Handle.h" |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
@@ -43,9 +43,9 @@ namespace blink { |
// the meta viewport tag and other sources. |
class PageScaleConstraintsSet { |
public: |
- static PassOwnPtrWillBeRawPtr<PageScaleConstraintsSet> create() |
+ static PassOwnPtr<PageScaleConstraintsSet> create() |
{ |
- return adoptPtrWillBeNoop(new PageScaleConstraintsSet); |
+ return adoptPtr(new PageScaleConstraintsSet); |
} |
void setDefaultConstraints(const PageScaleConstraints&); |