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

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

Issue 10537154: A working implementation of AQS (Assisted Query Stats). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed SupportsAssistedQueryStats. Created 8 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 e5e2cd3ee8fb13a4ed26870ad665471188c60ebe..e40676400b8cde4b5285f0cd9a448e89a980cefb 100644
--- a/chrome/browser/autocomplete/autocomplete_match.cc
+++ b/chrome/browser/autocomplete/autocomplete_match.cc
@@ -73,6 +73,9 @@ AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match)
from_previous(match.from_previous) {
if (match.associated_keyword.get())
associated_keyword.reset(new AutocompleteMatch(*match.associated_keyword));
+ if (match.search_terms_args.get())
+ search_terms_args.reset(
+ new SearchTermsArgs(*match.search_terms_args.get()));
}
AutocompleteMatch::~AutocompleteMatch() {

Powered by Google App Engine
This is Rietveld 408576698