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

Unified Diff: chrome/browser/chromeos/ui/idle_app_name_notification_view.cc

Issue 168033002: Fixing utf8 issue with kiosk mode message (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Probles uploading 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/ui/idle_app_name_notification_view.cc
diff --git a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc
index ad71259519d804c3fbf16e4715655d39aa582bc9..194395bc9faf199aaa714c85de72fc54023da1e3 100644
--- a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc
+++ b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc
@@ -284,7 +284,7 @@ void IdleAppNameNotificationView::ShowMessage(
base::string16 app_name;
bool error = false;
if (extension && !ContainsOnlyWhitespaceASCII(extension->name())) {
- app_name = base::ASCIIToUTF16(extension->name());
+ app_name = base::UTF8ToUTF16(extension->name());
// TODO(skuhne): This might not be enough since the author flag is not
// explicitly enforced by us, but for Kiosk mode we could maybe require it.
extension->manifest()->GetString("author", &author);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698