diff options
| author | groby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-17 17:41:31 +0000 |
|---|---|---|
| committer | groby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-17 17:41:31 +0000 |
| commit | 6ae91fa396ab5de068ab3fc1bd6cd630c3ddf70d (patch) | |
| tree | c8602a6bd47f7cc79be43068d75fe7e2e690051d | |
| parent | 57c4169c4efad9a87fcee4c621777c5f37cbe9ce (diff) | |
| download | chromium_src-6ae91fa396ab5de068ab3fc1bd6cd630c3ddf70d.zip chromium_src-6ae91fa396ab5de068ab3fc1bd6cd630c3ddf70d.tar.gz chromium_src-6ae91fa396ab5de068ab3fc1bd6cd630c3ddf70d.tar.bz2 | |
[AiS] Fix assignment and copy ctor.
These were missing from http://crrev.com/285343004, which added two
new fields to AutocompleteMatch.
BUG=370192
R=pkasting@chromium.org
Review URL: https://codereview.chromium.org/290693004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271248 0039d316-1c4b-4281-b951-d872f2087c98
| -rw-r--r-- | chrome/browser/autocomplete/autocomplete_match.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc index 46bbd6b..6911e44 100644 --- a/chrome/browser/autocomplete/autocomplete_match.cc +++ b/chrome/browser/autocomplete/autocomplete_match.cc @@ -81,6 +81,8 @@ AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match) contents_class(match.contents_class), description(match.description), description_class(match.description_class), + answer_contents(match.answer_contents), + answer_type(match.answer_type), transition(match.transition), is_history_what_you_typed_match(match.is_history_what_you_typed_match), type(match.type), @@ -117,6 +119,8 @@ AutocompleteMatch& AutocompleteMatch::operator=( contents_class = match.contents_class; description = match.description; description_class = match.description_class; + answer_contents = match.answer_contents; + answer_type = match.answer_type; transition = match.transition; is_history_what_you_typed_match = match.is_history_what_you_typed_match; type = match.type; |
