| Index: components/autofill/core/browser/suggestion.cc
|
| diff --git a/components/autofill/core/browser/suggestion.cc b/components/autofill/core/browser/suggestion.cc
|
| index d906207eb9cd47b104e346b5cb69ccdf83e246b2..caa47b27b5ae9134dc2ab23e5f59a07bfab3799c 100644
|
| --- a/components/autofill/core/browser/suggestion.cc
|
| +++ b/components/autofill/core/browser/suggestion.cc
|
| @@ -29,7 +29,8 @@ bool SuggestionBackendID::operator<(const SuggestionBackendID& other) const {
|
| }
|
|
|
| Suggestion::Suggestion()
|
| - : frontend_id(0) {
|
| + : frontend_id(0),
|
| + match(PREFIX_MATCH) {
|
| }
|
|
|
| Suggestion::Suggestion(const Suggestion& other)
|
| @@ -37,12 +38,14 @@ Suggestion::Suggestion(const Suggestion& other)
|
| frontend_id(other.frontend_id),
|
| value(other.value),
|
| label(other.label),
|
| - icon(other.icon) {
|
| + icon(other.icon),
|
| + match(other.match) {
|
| }
|
|
|
| Suggestion::Suggestion(const base::string16& v)
|
| : frontend_id(0),
|
| - value(v) {
|
| + value(v),
|
| + match(PREFIX_MATCH) {
|
| }
|
|
|
| Suggestion::Suggestion(const std::string& v,
|
| @@ -52,7 +55,8 @@ Suggestion::Suggestion(const std::string& v,
|
| : frontend_id(fid),
|
| value(base::UTF8ToUTF16(v)),
|
| label(base::UTF8ToUTF16(l)),
|
| - icon(base::UTF8ToUTF16(i)) {
|
| + icon(base::UTF8ToUTF16(i)),
|
| + match(PREFIX_MATCH) {
|
| }
|
|
|
| Suggestion::~Suggestion() {
|
|
|