summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/location_bar_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/location_bar_view.cc')
-rw-r--r--chrome/browser/views/location_bar_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/location_bar_view.cc b/chrome/browser/views/location_bar_view.cc
index a792b99..d41d254 100644
--- a/chrome/browser/views/location_bar_view.cc
+++ b/chrome/browser/views/location_bar_view.cc
@@ -1313,8 +1313,8 @@ void LocationBarView::FocusLocation() {
}
void LocationBarView::FocusSearch() {
- location_entry_->SetUserText(L"?");
location_entry_->SetFocus();
+ location_entry_->SetForcedQuery();
}
void LocationBarView::SaveStateToContents(TabContents* contents) {