summaryrefslogtreecommitdiffstats
path: root/chrome/browser/omnibox_search_hint.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/omnibox_search_hint.cc')
-rw-r--r--chrome/browser/omnibox_search_hint.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/omnibox_search_hint.cc b/chrome/browser/omnibox_search_hint.cc
index e06931a..4822cc8 100644
--- a/chrome/browser/omnibox_search_hint.cc
+++ b/chrome/browser/omnibox_search_hint.cc
@@ -9,6 +9,8 @@
#include "base/command_line.h"
#include "base/metrics/histogram.h"
#include "base/task.h"
+// TODO(avi): remove when conversions not needed any more
+#include "base/utf_string_conversions.h"
#include "chrome/browser/autocomplete/autocomplete.h"
#include "chrome/browser/autocomplete/autocomplete_edit.h"
#include "chrome/browser/autocomplete/autocomplete_edit_view.h"
@@ -183,8 +185,8 @@ void OmniboxSearchHint::ShowEnteringQuery() {
GetLocationBar();
AutocompleteEditView* edit_view = location_bar->location_entry();
location_bar->FocusLocation(true);
- edit_view->SetUserText(
- l10n_util::GetString(IDS_OMNIBOX_SEARCH_HINT_OMNIBOX_TEXT));
+ edit_view->SetUserText(UTF16ToWideHack(
+ 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.