summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/location_bar_view_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/location_bar_view_gtk.cc')
-rw-r--r--chrome/browser/gtk/location_bar_view_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/location_bar_view_gtk.cc b/chrome/browser/gtk/location_bar_view_gtk.cc
index 27dc3a0..beccd08 100644
--- a/chrome/browser/gtk/location_bar_view_gtk.cc
+++ b/chrome/browser/gtk/location_bar_view_gtk.cc
@@ -190,8 +190,8 @@ void LocationBarViewGtk::FocusLocation() {
}
void LocationBarViewGtk::FocusSearch() {
- location_entry_->SetUserText(L"?");
location_entry_->SetFocus();
+ location_entry_->SetForcedQuery();
}
void LocationBarViewGtk::UpdatePageActions() {