summaryrefslogtreecommitdiffstats
path: root/chrome/browser/omnibox_search_hint.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-25 15:23:36 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-25 15:23:36 +0000
commita2fedb1e1311bc6acffabebc03e8dbca761b385e (patch)
tree6c7e7970bb476b8ac4ec402c721e83fb3f425db4 /chrome/browser/omnibox_search_hint.cc
parentf5b0d12e8a294f748e2800dda141cbb664afb111 (diff)
downloadchromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.zip
chromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.tar.gz
chromium_src-a2fedb1e1311bc6acffabebc03e8dbca761b385e.tar.bz2
Remove wstring from autocomplete.
Recommit of r72380. BUG=23581 TEST=no visible changes; all tests pass Review URL: http://codereview.chromium.org/6306011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/omnibox_search_hint.cc')
-rw-r--r--chrome/browser/omnibox_search_hint.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/omnibox_search_hint.cc b/chrome/browser/omnibox_search_hint.cc
index dcd5224..7b19d10 100644
--- a/chrome/browser/omnibox_search_hint.cc
+++ b/chrome/browser/omnibox_search_hint.cc
@@ -208,8 +208,8 @@ void OmniboxSearchHint::ShowEnteringQuery() {
GetLocationBar();
AutocompleteEditView* edit_view = location_bar->location_entry();
location_bar->FocusLocation(true);
- edit_view->SetUserText(UTF16ToWideHack(
- l10n_util::GetStringUTF16(IDS_OMNIBOX_SEARCH_HINT_OMNIBOX_TEXT)));
+ edit_view->SetUserText(
+ l10n_util::GetStringUTF16(IDS_OMNIBOX_SEARCH_HINT_OMNIBOX_TEXT));
edit_view->SelectAll(false);
// Entering text in the autocomplete edit view triggers the suggestion popup
// that we don't want to show in this case.