Index: chrome/browser/autocomplete/history_provider.cc |
diff --git a/chrome/browser/autocomplete/history_provider.cc b/chrome/browser/autocomplete/history_provider.cc |
index c854f7ace81f56941265d25e8571985f8ffc05cc..32963348694e8619e98191ed20363904e178f6ce 100644 |
--- a/chrome/browser/autocomplete/history_provider.cc |
+++ b/chrome/browser/autocomplete/history_provider.cc |
@@ -62,7 +62,7 @@ void HistoryProvider::DeleteMatchFromMatches(const AutocompleteMatch& match) { |
for (ACMatches::iterator i(matches_.begin()); i != matches_.end(); ++i) { |
if (i->destination_url == match.destination_url && i->type == match.type) { |
found = true; |
- if (i->is_history_what_you_typed_match || |
+ if ((i->type == AutocompleteMatchType::URL_WHAT_YOU_TYPED) || |
(bookmark_model && |
bookmark_model->IsBookmarked(i->destination_url))) { |
// We can't get rid of What-You-Typed or Bookmarked matches, |