Chromium Code Reviews| 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) { |
|
Peter Kasting
2013/04/25 19:42:54
Nit: File style: parens around binary subexpressio
sail
2013/04/25 22:18:46
Done.
|
| const TemplateURL* template_url = |
| TemplateURLServiceFactory::GetForProfile(profile_)-> |
| GetDefaultSearchProvider(); |