Index: third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.cpp |
diff --git a/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.cpp b/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.cpp |
index f795010670ac4b7579276dd425984b429722f559..dfb887d15dad4ed33ed767758dabb95d1e9916e0 100644 |
--- a/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.cpp |
+++ b/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.cpp |
@@ -5,14 +5,12 @@ |
#include "core/dom/IncrementLoadEventDelayCount.h" |
#include "core/dom/Document.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
-std::unique_ptr<IncrementLoadEventDelayCount> IncrementLoadEventDelayCount::create(Document& document) |
+PassOwnPtr<IncrementLoadEventDelayCount> IncrementLoadEventDelayCount::create(Document& document) |
{ |
- return wrapUnique(new IncrementLoadEventDelayCount(document)); |
+ return adoptPtr(new IncrementLoadEventDelayCount(document)); |
} |
IncrementLoadEventDelayCount::IncrementLoadEventDelayCount(Document& document) |