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

Unified Diff: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc

Issue 7791020: Fix localized "platform" message for non-8bit languages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: hange from ASCIIToWide to UTF8ToWide too for boottime string. Created 9 years, 4 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 | « chrome/browser/chromeos/login/background_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
index e9f705dac21ea87e2ef472bc682174c4d58a1e22..86e7b99fcac34a8925eadd1584c53c2447696830 100644
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
@@ -90,8 +90,8 @@ void CoreOobeHandler::OnBootTimesLabelTextUpdated(
void CoreOobeHandler::UpdateLabel(const std::string& id,
const std::string& text) {
- base::StringValue id_value(ASCIIToUTF16(id));
- base::StringValue text_value(ASCIIToUTF16(text));
+ base::StringValue id_value(UTF8ToUTF16(id));
+ base::StringValue text_value(UTF8ToUTF16(text));
web_ui_->CallJavascriptFunction("cr.ui.Oobe.setLabelText",
id_value,
text_value);
« no previous file with comments | « chrome/browser/chromeos/login/background_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698