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

Unified Diff: chrome/browser/ui/views/external_protocol_dialog.cc

Issue 102993018: Remove UTF string conversion functions from the global namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aaaaaaaaaa 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/views/external_protocol_dialog.cc
diff --git a/chrome/browser/ui/views/external_protocol_dialog.cc b/chrome/browser/ui/views/external_protocol_dialog.cc
index 1a9eeab55e85c70e7dab3161aa5b3c1cf13235b9..76d49bb753152ff64b11e7ce3f8ebf35ca984d69 100644
--- a/chrome/browser/ui/views/external_protocol_dialog.cc
+++ b/chrome/browser/ui/views/external_protocol_dialog.cc
@@ -135,8 +135,9 @@ ExternalProtocolDialog::ExternalProtocolDialog(const GURL& url,
base::string16 elided_url_without_scheme;
base::string16 elided_command;
gfx::ElideString(base::ASCIIToUTF16(url.possibly_invalid_spec()),
- kMaxUrlWithoutSchemeSize, &elided_url_without_scheme);
- gfx::ElideString(WideToUTF16Hack(command), kMaxCommandSize, &elided_command);
+ kMaxUrlWithoutSchemeSize, &elided_url_without_scheme);
+ gfx::ElideString(base::WideToUTF16Hack(command),
+ kMaxCommandSize, &elided_command);
base::string16 message_text = l10n_util::GetStringFUTF16(
IDS_EXTERNAL_PROTOCOL_INFORMATION,
« no previous file with comments | « chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ('k') | chrome/browser/ui/website_settings/website_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698