| 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..80b0f5f7a54b054c0e05469cfc4a00e6cac25554 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_->GetSearchTermsType() != ToolbarModel::NO_SEARCH_TERMS)) {
|
| const TemplateURL* template_url =
|
| TemplateURLServiceFactory::GetForProfile(profile_)->
|
| GetDefaultSearchProvider();
|
|
|