| Index: chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| diff --git a/chrome/browser/ui/toolbar/toolbar_model_impl.cc b/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| index 2f52f6bb5a8d6c8c0f697397890b29f282f8ea94..3fc3bd13d337f4d23d6d6b531237a44af2e5a107 100644
|
| --- a/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| +++ b/chrome/browser/ui/toolbar/toolbar_model_impl.cc
|
| @@ -95,12 +95,11 @@ ToolbarModel::SecurityLevel ToolbarModelImpl::GetSecurityLevelForWebContents(
|
| }
|
|
|
| // ToolbarModelImpl Implementation.
|
| -string16 ToolbarModelImpl::GetText(bool allow_search_term_replacement) const {
|
| - if (allow_search_term_replacement) {
|
| - string16 search_terms(GetSearchTerms(false));
|
| - if (!search_terms.empty())
|
| - return search_terms;
|
| - }
|
| +string16 ToolbarModelImpl::GetText() const {
|
| + string16 search_terms(GetSearchTerms(false));
|
| + if (!search_terms.empty())
|
| + return search_terms;
|
| +
|
| std::string languages; // Empty if we don't have a |navigation_controller|.
|
| Profile* profile = GetProfile();
|
| if (profile)
|
|
|