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

Unified Diff: ui/app_list/search/history.cc

Issue 1223153003: Move JoinString to the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows Created 5 years, 5 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
Index: ui/app_list/search/history.cc
diff --git a/ui/app_list/search/history.cc b/ui/app_list/search/history.cc
index 6c540246ff7b220f0b554406d77502a7b91eba59..7d38bb269a07761bdc3c481ec5b29990ec816b60 100644
--- a/ui/app_list/search/history.cc
+++ b/ui/app_list/search/history.cc
@@ -17,7 +17,8 @@ namespace {
// Normalize the given string by joining all its tokens with a space.
std::string NormalizeString(const std::string& utf8) {
TokenizedString tokenized(base::UTF8ToUTF16(utf8));
- return base::UTF16ToUTF8(JoinString(tokenized.tokens(), ' '));
+ return base::UTF16ToUTF8(
+ base::JoinString(tokenized.tokens(), base::ASCIIToUTF16(" ")));
}
} // namespace
« no previous file with comments | « tools/set_default_handler/set_default_handler_main.cc ('k') | ui/app_list/search/tokenized_string_char_iterator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698