Index: chrome/browser/autocomplete/history_provider.cc |
=================================================================== |
--- chrome/browser/autocomplete/history_provider.cc (revision 152962) |
+++ chrome/browser/autocomplete/history_provider.cc (working copy) |
@@ -38,10 +38,8 @@ |
DCHECK(history_service); |
DCHECK(match.destination_url.is_valid()); |
history_service->DeleteURL(match.destination_url); |
- DeleteMatchFromMatches(match); |
-} |
-void HistoryProvider::DeleteMatchFromMatches(const AutocompleteMatch& match) { |
+ // Delete the match from the current set of matches. |
bool found = false; |
for (ACMatches::iterator i(matches_.begin()); i != matches_.end(); ++i) { |
if (i->destination_url == match.destination_url && i->type == match.type) { |