Index: Source/platform/text/LocaleMac.mm |
diff --git a/Source/platform/text/LocaleMac.mm b/Source/platform/text/LocaleMac.mm |
index 64c1353e5e3d9b8f68da0e0107126cc0112bfeb7..48cad200c9178761b7678ce752347d8a9229ac9e 100644 |
--- a/Source/platform/text/LocaleMac.mm |
+++ b/Source/platform/text/LocaleMac.mm |
@@ -64,9 +64,9 @@ static RetainPtr<NSLocale> determineLocale(const String& locale) |
return RetainPtr<NSLocale>(AdoptNS, [[NSLocale alloc] initWithLocaleIdentifier:locale]); |
} |
-PassOwnPtr<Locale> Locale::create(const AtomicString& locale) |
+PassOwnPtr<Locale> Locale::create(const String& locale) |
{ |
- return LocaleMac::create(determineLocale(locale.string()).get()); |
+ return LocaleMac::create(determineLocale(locale).get()); |
} |
static RetainPtr<NSDateFormatter> createDateTimeFormatter(NSLocale* locale, NSCalendar* calendar, NSDateFormatterStyle dateStyle, NSDateFormatterStyle timeStyle) |