| Index: chrome/browser/autocomplete/autocomplete_input.cc
|
| diff --git a/chrome/browser/autocomplete/autocomplete_input.cc b/chrome/browser/autocomplete/autocomplete_input.cc
|
| index 119758e1cd977c532c7460c1ff6c8fccc7bf8569..3fc23930ed3be3e22021264fa2a4a9ad271578a2 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_input.cc
|
| +++ b/chrome/browser/autocomplete/autocomplete_input.cc
|
| @@ -498,24 +498,16 @@ void AutocompleteInput::UpdateText(const string16& text,
|
| parts_ = parts;
|
| }
|
|
|
| -bool AutocompleteInput::Equals(const AutocompleteInput& other) const {
|
| - return (text_ == other.text_) &&
|
| - (cursor_position_ == other.cursor_position_) &&
|
| - (type_ == other.type_) &&
|
| - (desired_tld_ == other.desired_tld_) &&
|
| - (scheme_ == other.scheme_) &&
|
| - (prevent_inline_autocomplete_ == other.prevent_inline_autocomplete_) &&
|
| - (prefer_keyword_ == other.prefer_keyword_) &&
|
| - (matches_requested_ == other.matches_requested_);
|
| -}
|
| -
|
| void AutocompleteInput::Clear() {
|
| text_.clear();
|
| cursor_position_ = string16::npos;
|
| + desired_tld_.clear();
|
| type_ = INVALID;
|
| parts_ = url_parse::Parsed();
|
| scheme_.clear();
|
| - desired_tld_.clear();
|
| + canonicalized_url_ = GURL();
|
| prevent_inline_autocomplete_ = false;
|
| prefer_keyword_ = false;
|
| + allow_exact_keyword_match_ = false;
|
| + matches_requested_ = ALL_MATCHES;
|
| }
|
|
|