Index: third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.h |
diff --git a/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.h b/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.h |
index 43e971dbbf6f22d6d5aa65d3f8834e5e555cb7c6..dfafde11f6a4b2f7694331e904661fa9e3c21e90 100644 |
--- a/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.h |
+++ b/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.h |
@@ -8,6 +8,7 @@ |
#include "platform/heap/Handle.h" |
#include "wtf/Allocator.h" |
#include "wtf/Noncopyable.h" |
+#include <memory> |
namespace blink { |
@@ -20,7 +21,7 @@ class IncrementLoadEventDelayCount { |
WTF_MAKE_NONCOPYABLE(IncrementLoadEventDelayCount); |
public: |
- static PassOwnPtr<IncrementLoadEventDelayCount> create(Document&); |
+ static std::unique_ptr<IncrementLoadEventDelayCount> create(Document&); |
~IncrementLoadEventDelayCount(); |
// Increments the new document's count and decrements the old count. |