| Index: components/omnibox/browser/omnibox_view.cc
|
| diff --git a/components/omnibox/browser/omnibox_view.cc b/components/omnibox/browser/omnibox_view.cc
|
| index 040058110f8b306908d97da35b543b67dc424af1..a4359ced920fc07f9fb808f38a94be31dd567e5b 100644
|
| --- a/components/omnibox/browser/omnibox_view.cc
|
| +++ b/components/omnibox/browser/omnibox_view.cc
|
| @@ -113,16 +113,14 @@ gfx::VectorIconId OmniboxView::GetVectorIcon(bool invert) const {
|
| }
|
|
|
| void OmniboxView::SetUserText(const base::string16& text) {
|
| - SetUserText(text, text, true);
|
| + SetUserText(text, true);
|
| }
|
|
|
| void OmniboxView::SetUserText(const base::string16& text,
|
| - const base::string16& display_text,
|
| bool update_popup) {
|
| if (model_.get())
|
| model_->SetUserText(text);
|
| - SetWindowTextAndCaretPos(display_text, display_text.length(), update_popup,
|
| - true);
|
| + SetWindowTextAndCaretPos(text, text.length(), update_popup, true);
|
| }
|
|
|
| void OmniboxView::ShowURL() {
|
|
|