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

Unified Diff: Source/platform/text/TextBreakIteratorInternalICU.cpp

Issue 124003003: Add ascii() / latin1() / utf8() methods to AtomicString to avoid having to call string() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 12 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
« no previous file with comments | « Source/platform/text/TextBreakIteratorICU.cpp ('k') | Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/text/TextBreakIteratorInternalICU.cpp
diff --git a/Source/platform/text/TextBreakIteratorInternalICU.cpp b/Source/platform/text/TextBreakIteratorInternalICU.cpp
index 131a04175d8457c9dee0ffef39f4050b68952a3f..e28a5276e6cb7dbe0c0045b25833d41cc4e67249 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().string().latin1()));
+ DEFINE_STATIC_LOCAL(const CString, locale, (defaultLanguage().latin1()));
return locale.data();
}
« no previous file with comments | « Source/platform/text/TextBreakIteratorICU.cpp ('k') | Source/web/tests/TouchActionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698