Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 dfafde11f6a4b2f7694331e904661fa9e3c21e90..43e971dbbf6f22d6d5aa65d3f8834e5e555cb7c6 100644
--- a/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.h
+++ b/third_party/WebKit/Source/core/dom/IncrementLoadEventDelayCount.h
@@ -8,7 +8,6 @@
#include "platform/heap/Handle.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include <memory>
namespace blink {
@@ -21,7 +20,7 @@ class IncrementLoadEventDelayCount {
WTF_MAKE_NONCOPYABLE(IncrementLoadEventDelayCount);
public:
- static std::unique_ptr<IncrementLoadEventDelayCount> create(Document&);
+ static PassOwnPtr<IncrementLoadEventDelayCount> create(Document&);
~IncrementLoadEventDelayCount();
// Increments the new document's count and decrements the old count.

Powered by Google App Engine
This is Rietveld 408576698