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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleWin.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/LocaleWin.h
diff --git a/third_party/WebKit/Source/platform/text/LocaleWin.h b/third_party/WebKit/Source/platform/text/LocaleWin.h
index 485e34bfe8f5c6e674831872767a4102762a4c87..373a1fb8e3336911cf93104713af9b3b9f9cc44f 100644
--- a/third_party/WebKit/Source/platform/text/LocaleWin.h
+++ b/third_party/WebKit/Source/platform/text/LocaleWin.h
@@ -31,18 +31,17 @@
#ifndef LocaleWin_h
#define LocaleWin_h
+#include <windows.h>
#include "platform/text/PlatformLocale.h"
#include "wtf/Forward.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
-#include <memory>
-#include <windows.h>
namespace blink {
class PLATFORM_EXPORT LocaleWin : public Locale {
public:
- static std::unique_ptr<LocaleWin> create(LCID, bool defaultsForLocale);
+ static PassOwnPtr<LocaleWin> create(LCID, bool defaultsForLocale);
~LocaleWin();
const Vector<String>& weekDayShortLabels() override;
unsigned firstDayOfWeek() override;
« no previous file with comments | « third_party/WebKit/Source/platform/text/LocaleMacTest.cpp ('k') | third_party/WebKit/Source/platform/text/LocaleWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698