| Index: chrome/browser/autocomplete/autocomplete_edit_view_views.cc
|
| diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_views.cc b/chrome/browser/autocomplete/autocomplete_edit_view_views.cc
|
| index 357c7a21578594ee8f4bbf6729f3e005987f262a..42c4cd36d3b73eecb46c44506947dc4eb318d5eb 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_edit_view_views.cc
|
| +++ b/chrome/browser/autocomplete/autocomplete_edit_view_views.cc
|
| @@ -484,7 +484,7 @@ bool AutocompleteEditViewViews::OnAfterPossibleChange() {
|
| // See if the text or selection have changed since OnBeforePossibleChange().
|
| std::wstring new_text = GetText();
|
| text_changed_ = (new_text != text_before_change_);
|
| - bool selection_differs = !sel_before_change_.Equals(new_sel);
|
| + bool selection_differs = !sel_before_change_.HasSameSelectionWith(new_sel);
|
|
|
| // When the user has deleted text, we don't allow inline autocomplete. Make
|
| // sure to not flag cases like selecting part of the text and then pasting
|
|
|