Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Unified Diff: chrome/browser/autocomplete/autocomplete_match.cc

Issue 290693004: [AiS] Fix assignment and copy ctor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_match.cc
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc
index 46bbd6b288a5f13e08f410a0b546578b3ec7e36e..6911e44bd07ac8a03ee2715575240a3b4e46e422 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698