Index: third_party/WebKit/Source/platform/text/PlatformLocale.h |
diff --git a/third_party/WebKit/Source/platform/text/PlatformLocale.h b/third_party/WebKit/Source/platform/text/PlatformLocale.h |
index ed248b3d478078ee8b5032b22737da1da480796e..d9189bb8f9661fe2401719681b4d8faee261e3e0 100644 |
--- a/third_party/WebKit/Source/platform/text/PlatformLocale.h |
+++ b/third_party/WebKit/Source/platform/text/PlatformLocale.h |
@@ -30,8 +30,8 @@ |
#include "platform/Language.h" |
#include "public/platform/WebLocalizedString.h" |
#include "wtf/Allocator.h" |
+#include "wtf/PassOwnPtr.h" |
#include "wtf/text/WTFString.h" |
-#include <memory> |
namespace blink { |
@@ -39,7 +39,7 @@ class PLATFORM_EXPORT Locale { |
WTF_MAKE_NONCOPYABLE(Locale); |
USING_FAST_MALLOC(Locale); |
public: |
- static std::unique_ptr<Locale> create(const String& localeIdentifier); |
+ static PassOwnPtr<Locale> create(const String& localeIdentifier); |
static Locale& defaultLocale(); |
String queryString(WebLocalizedString::Name); |