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

Unified Diff: third_party/WebKit/Source/wtf/text/Collator.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/wtf/text/Collator.h
diff --git a/third_party/WebKit/Source/wtf/text/Collator.h b/third_party/WebKit/Source/wtf/text/Collator.h
index 18b1efe5c8c49caa797554ae53250b8844c7321f..247d65d870064e192c94ed7b270a10da8a9217b7 100644
--- a/third_party/WebKit/Source/wtf/text/Collator.h
+++ b/third_party/WebKit/Source/wtf/text/Collator.h
@@ -31,9 +31,9 @@
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/WTFExport.h"
#include "wtf/text/Unicode.h"
-#include <memory>
struct UCollator;
@@ -52,7 +52,7 @@ public:
~Collator();
void setOrderLowerFirst(bool);
- static std::unique_ptr<Collator> userDefault();
+ static PassOwnPtr<Collator> userDefault();
Result collate(const ::UChar*, size_t, const ::UChar*, size_t) const;
« no previous file with comments | « third_party/WebKit/Source/wtf/allocator/PartitionAllocTest.cpp ('k') | third_party/WebKit/Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698