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

Unified Diff: remoting/host/disconnect_window_gtk.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/disconnect_window_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window_gtk.cc
diff --git a/remoting/host/disconnect_window_gtk.cc b/remoting/host/disconnect_window_gtk.cc
index 5b840e0f1f7ea4f8ca4f4c531f473200b9e087f4..34c2683860cfb9cd43875edc3a895ce7ccfac18b 100644
--- a/remoting/host/disconnect_window_gtk.cc
+++ b/remoting/host/disconnect_window_gtk.cc
@@ -161,7 +161,7 @@ void DisconnectWindowGtk::Start(
// Extract the user name from the JID.
std::string client_jid = client_session_control_->client_jid();
base::string16 username =
- UTF8ToUTF16(client_jid.substr(0, client_jid.find('/')));
+ base::UTF8ToUTF16(client_jid.substr(0, client_jid.find('/')));
gtk_label_set_text(
GTK_LABEL(message_),
l10n_util::GetStringFUTF8(IDR_MESSAGE_SHARED, username).c_str());
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/disconnect_window_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698