Index: Source/platform/text/LocaleICU.cpp |
diff --git a/Source/platform/text/LocaleICU.cpp b/Source/platform/text/LocaleICU.cpp |
index a5985dc6b2eb893babb964e88b0d952f73850124..75a91d0b167f3307a1dd72a9d93d7cfb97ec5029 100644 |
--- a/Source/platform/text/LocaleICU.cpp |
+++ b/Source/platform/text/LocaleICU.cpp |
@@ -44,9 +44,9 @@ using namespace std; |
namespace WebCore { |
-PassOwnPtr<Locale> Locale::create(const AtomicString& locale) |
+PassOwnPtr<Locale> Locale::create(const String& locale) |
{ |
- return LocaleICU::create(locale.string().utf8().data()); |
+ return LocaleICU::create(locale.utf8().data()); |
} |
LocaleICU::LocaleICU(const char* locale) |