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

Unified Diff: ui/base/ime/candidate_window.cc

Issue 162723003: Migrate CandidateWindow::Entry to string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browsertest compilation Created 6 years, 10 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 | « ui/base/ime/candidate_window.h ('k') | ui/base/ime/candidate_window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/candidate_window.cc
diff --git a/ui/base/ime/candidate_window.cc b/ui/base/ime/candidate_window.cc
index f49613ba744bcbc09ee41685ce0c6c08042cd5cd..6cb32e2d77f18ee915a87f1069a045a48d4f4fec 100644
--- a/ui/base/ime/candidate_window.cc
+++ b/ui/base/ime/candidate_window.cc
@@ -70,8 +70,8 @@ void CandidateWindow::GetInfolistEntries(
candidate_entry.description_body.empty())
continue;
- InfolistEntry entry(base::UTF8ToUTF16(candidate_entry.description_title),
- base::UTF8ToUTF16(candidate_entry.description_body));
+ InfolistEntry entry(candidate_entry.description_title,
+ candidate_entry.description_body);
if (i == cursor_index_in_page) {
entry.highlighted = true;
*has_highlighted = true;
« no previous file with comments | « ui/base/ime/candidate_window.h ('k') | ui/base/ime/candidate_window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698