Index: components/autofill/core/browser/suggestion.cc |
diff --git a/components/autofill/core/browser/suggestion.cc b/components/autofill/core/browser/suggestion.cc |
index c46d30271c9a8bbc1cba9e1f5ebb42a5387158b0..8b1373c43ef4a466af2ff027bad30da95702bf7d 100644 |
--- a/components/autofill/core/browser/suggestion.cc |
+++ b/components/autofill/core/browser/suggestion.cc |
@@ -11,7 +11,8 @@ |
namespace autofill { |
Suggestion::Suggestion() |
- : frontend_id(0) { |
+ : frontend_id(0), |
+ match_start(0) { |
} |
Suggestion::Suggestion(const Suggestion& other) |
@@ -19,12 +20,12 @@ Suggestion::Suggestion(const Suggestion& other) |
frontend_id(other.frontend_id), |
value(other.value), |
label(other.label), |
- icon(other.icon) { |
+ icon(other.icon), |
+ match_start(other.match_start) { |
} |
Suggestion::Suggestion(const base::string16& v) |
- : frontend_id(0), |
- value(v) { |
+ : frontend_id(0), value(v), match_start(0) { |
} |
Suggestion::Suggestion(const std::string& v, |
@@ -34,7 +35,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_start(0) { |
} |
Suggestion::~Suggestion() { |