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

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

Issue 14698028: Omnibox refactor. OmniboxController now holds an AutocompleteMatch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased and cleaned-up. Created 7 years, 6 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
Index: chrome/browser/autocomplete/autocomplete_match.cc
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc
index 9e9dd72c45f2b1311382a0f8c2d5f447044784c5..83e688e517865e76da607ac2d5e451b7f68a8065 100644
--- a/chrome/browser/autocomplete/autocomplete_match.cc
+++ b/chrome/browser/autocomplete/autocomplete_match.cc
@@ -75,6 +75,7 @@ AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match)
deletable(match.deletable),
fill_into_edit(match.fill_into_edit),
inline_autocomplete_offset(match.inline_autocomplete_offset),
+ gray_suggestion(match.gray_suggestion),
destination_url(match.destination_url),
stripped_destination_url(match.stripped_destination_url),
contents(match.contents),
@@ -109,6 +110,7 @@ AutocompleteMatch& AutocompleteMatch::operator=(
deletable = match.deletable;
fill_into_edit = match.fill_into_edit;
inline_autocomplete_offset = match.inline_autocomplete_offset;
+ gray_suggestion = match.gray_suggestion;
destination_url = match.destination_url;
stripped_destination_url = match.stripped_destination_url;
contents = match.contents;

Powered by Google App Engine
This is Rietveld 408576698