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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleMac.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/platform/text/LocaleMac.h
diff --git a/third_party/WebKit/Source/platform/text/LocaleMac.h b/third_party/WebKit/Source/platform/text/LocaleMac.h
index ec3a367b1667c93511207d2951f0a6eab9a0354c..8a8a5630e8cc236d85d42582e40c9194013e3fc0 100644
--- a/third_party/WebKit/Source/platform/text/LocaleMac.h
+++ b/third_party/WebKit/Source/platform/text/LocaleMac.h
@@ -36,7 +36,6 @@
#include "wtf/RetainPtr.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
-#include <memory>
OBJC_CLASS NSCalendar;
OBJC_CLASS NSDateFormatter;
@@ -46,8 +45,8 @@ namespace blink {
class PLATFORM_EXPORT LocaleMac : public Locale {
public:
- static std::unique_ptr<LocaleMac> create(const String&);
- static std::unique_ptr<LocaleMac> create(NSLocale*);
+ static PassOwnPtr<LocaleMac> create(const String&);
+ static PassOwnPtr<LocaleMac> create(NSLocale*);
~LocaleMac();
const Vector<String>& weekDayShortLabels() override;
« no previous file with comments | « third_party/WebKit/Source/platform/text/LocaleICUTest.cpp ('k') | third_party/WebKit/Source/platform/text/LocaleMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698