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

Unified Diff: app/table_model.cc

Issue 5990008: Remove wstring from l10n_util. Part 1.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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: app/table_model.cc
===================================================================
--- app/table_model.cc (revision 70069)
+++ app/table_model.cc (working copy)
@@ -54,7 +54,7 @@
percent(0),
min_visible_width(0),
sortable(false) {
- title = l10n_util::GetString(id);
+ title = UTF16ToWide(l10n_util::GetStringUTF16(id));
}
TableColumn::TableColumn(int id, Alignment alignment, int width, float percent)
@@ -64,7 +64,7 @@
percent(percent),
min_visible_width(0),
sortable(false) {
- title = l10n_util::GetString(id);
+ title = UTF16ToWide(l10n_util::GetStringUTF16(id));
}
// TableModel -----------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698