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

Unified Diff: chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc

Issue 112913004: Update some uses of UTF conversions in chrome/browser to use the base:: namespace. (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
Index: chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc
diff --git a/chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc b/chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc
index 3e26bcb624035d6756815de704d081c4f3a5bc11..c95a5fad15543fba1ed8bea0c1ca74f37ab3e48c 100644
--- a/chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc
+++ b/chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc
@@ -161,8 +161,8 @@ void CreateApplicationShortcutsDialogGtk::CreateDialogBox(GtkWindow* parent) {
label_width = kDescriptionLabelMinimumWidthPixels;
gtk_util::SetLabelWidth(description_label, label_width);
- std::string description(UTF16ToUTF8(shortcut_info_.description));
- std::string title(UTF16ToUTF8(shortcut_info_.title));
+ std::string description(base::UTF16ToUTF8(shortcut_info_.description));
+ std::string title(base::UTF16ToUTF8(shortcut_info_.title));
gtk_label_set_text(GTK_LABEL(description_label),
(description.empty() ? title : description).c_str());
« no previous file with comments | « chrome/browser/ui/gtk/content_setting_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698