Index: chrome/browser/autocomplete/autocomplete_match.cc |
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc |
index fc6774c5d8e10bde74f42f9c611be8d725bb0644..a39ba6202250e19bad8e9c65dbad5110f376d376 100644 |
--- a/chrome/browser/autocomplete/autocomplete_match.cc |
+++ b/chrome/browser/autocomplete/autocomplete_match.cc |
@@ -44,6 +44,7 @@ AutocompleteMatch::AutocompleteMatch() |
typed_count(-1), |
deletable(false), |
inline_autocomplete_offset(string16::npos), |
+ allowed_to_be_default_match(false), |
transition(content::PAGE_TRANSITION_GENERATED), |
is_history_what_you_typed_match(false), |
type(AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED), |
@@ -60,6 +61,7 @@ AutocompleteMatch::AutocompleteMatch(AutocompleteProvider* provider, |
typed_count(-1), |
deletable(deletable), |
inline_autocomplete_offset(string16::npos), |
+ allowed_to_be_default_match(false), |
transition(content::PAGE_TRANSITION_TYPED), |
is_history_what_you_typed_match(false), |
type(type), |
@@ -74,6 +76,7 @@ AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match) |
deletable(match.deletable), |
fill_into_edit(match.fill_into_edit), |
inline_autocomplete_offset(match.inline_autocomplete_offset), |
+ allowed_to_be_default_match(match.allowed_to_be_default_match), |
destination_url(match.destination_url), |
stripped_destination_url(match.stripped_destination_url), |
contents(match.contents), |
@@ -108,6 +111,7 @@ AutocompleteMatch& AutocompleteMatch::operator=( |
deletable = match.deletable; |
fill_into_edit = match.fill_into_edit; |
inline_autocomplete_offset = match.inline_autocomplete_offset; |
+ allowed_to_be_default_match = match.allowed_to_be_default_match; |
msw
2013/07/18 06:23:57
Does any code modify a copied match in some way th
Peter Kasting
2013/07/18 17:35:28
If there is some, I don't know what we should do o
msw
2013/07/18 17:46:53
Yes, I would suggest modifying the code that does
Mark P
2013/07/21 20:31:05
When constructing this changelist, I examined ever
msw
2013/07/23 21:55:32
Thanks for doing that audit.
|
destination_url = match.destination_url; |
stripped_destination_url = match.stripped_destination_url; |
contents = match.contents; |