Index: Source/platform/text/TextBreakIteratorInternalICU.cpp |
diff --git a/Source/platform/text/TextBreakIteratorInternalICU.cpp b/Source/platform/text/TextBreakIteratorInternalICU.cpp |
index d4aca01acf53372810acf6c00ef29fc0e8381455..131a04175d8457c9dee0ffef39f4050b68952a3f 100644 |
--- a/Source/platform/text/TextBreakIteratorInternalICU.cpp |
+++ b/Source/platform/text/TextBreakIteratorInternalICU.cpp |
@@ -33,7 +33,7 @@ static const char* UILanguage() |
{ |
// Chrome's UI language can be different from the OS UI language on Windows. |
// We want to return Chrome's UI language here. |
- DEFINE_STATIC_LOCAL(CString, locale, (defaultLanguage().latin1())); |
+ DEFINE_STATIC_LOCAL(CString, locale, (defaultLanguage().string().latin1())); |
return locale.data(); |
} |