blob: 378f9e849bee6656d0ed03e1f0b1152d001ff491 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
description: gcc 6 does not support copy construction from a nullptr
author: Michael Gilbert <mgilbert@debian.org>
--- a/components/omnibox/browser/autocomplete_match.cc
+++ b/components/omnibox/browser/autocomplete_match.cc
@@ -142,14 +142,13 @@ AutocompleteMatch::AutocompleteMatch(con
? new AutocompleteMatch(*match.associated_keyword)
: nullptr),
keyword(match.keyword),
- pedal(match.pedal),
from_previous(match.from_previous),
search_terms_args(
match.search_terms_args
? new TemplateURLRef::SearchTermsArgs(*match.search_terms_args)
: nullptr),
additional_info(match.additional_info),
- duplicate_matches(match.duplicate_matches) {}
+ duplicate_matches(match.duplicate_matches) { pedal = match.pedal; }
AutocompleteMatch::~AutocompleteMatch() {
}
|