| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| index d2e11d29ef3b4e29fd3845a5ffed601fa57bdf0b..92331d01ccb1800391c153e2e5826d92edee9544 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -427,7 +427,7 @@ void LocationBarView::Update(const WebContents* tab_for_state_restoring) {
|
|
|
| string16 search_provider;
|
| if (!model_->GetInputInProgress() &&
|
| - model_->WouldReplaceSearchURLWithSearchTerms()) {
|
| + model_->GetSearchTermType() != ToolbarModel::SEARCH_TERM_NONE) {
|
| const TemplateURL* template_url =
|
| TemplateURLServiceFactory::GetForProfile(profile_)->
|
| GetDefaultSearchProvider();
|
|
|