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

Unified Diff: components/omnibox/autocomplete_match.cc

Issue 1129733006: Omnibox - Code Cleanup - Remove Unnecessary is_history_what_you_typed_match (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « components/omnibox/autocomplete_match.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/autocomplete_match.cc
diff --git a/components/omnibox/autocomplete_match.cc b/components/omnibox/autocomplete_match.cc
index d0b4c71e0f4f4ab2ac7737a3dd0f829dbe7f36d2..d19f8e9b56031961555e2f2db05fc075080bfaa3 100644
--- a/components/omnibox/autocomplete_match.cc
+++ b/components/omnibox/autocomplete_match.cc
@@ -45,7 +45,6 @@ AutocompleteMatch::AutocompleteMatch()
deletable(false),
allowed_to_be_default_match(false),
transition(ui::PAGE_TRANSITION_GENERATED),
- is_history_what_you_typed_match(false),
type(AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED),
from_previous(false) {
}
@@ -60,7 +59,6 @@ AutocompleteMatch::AutocompleteMatch(AutocompleteProvider* provider,
deletable(deletable),
allowed_to_be_default_match(false),
transition(ui::PAGE_TRANSITION_TYPED),
- is_history_what_you_typed_match(false),
type(type),
from_previous(false) {
}
@@ -83,7 +81,6 @@ AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match)
answer_type(match.answer_type),
answer(SuggestionAnswer::copy(match.answer.get())),
transition(match.transition),
- is_history_what_you_typed_match(match.is_history_what_you_typed_match),
type(match.type),
associated_keyword(match.associated_keyword.get() ?
new AutocompleteMatch(*match.associated_keyword) : NULL),
@@ -121,7 +118,6 @@ AutocompleteMatch& AutocompleteMatch::operator=(
answer_type = match.answer_type;
answer = SuggestionAnswer::copy(match.answer.get());
transition = match.transition;
- is_history_what_you_typed_match = match.is_history_what_you_typed_match;
type = match.type;
associated_keyword.reset(match.associated_keyword.get() ?
new AutocompleteMatch(*match.associated_keyword) : NULL);
« no previous file with comments | « components/omnibox/autocomplete_match.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698