Index: chrome/browser/autocomplete/history_contents_provider.cc |
diff --git a/chrome/browser/autocomplete/history_contents_provider.cc b/chrome/browser/autocomplete/history_contents_provider.cc |
index 44d24e8d343bfeca9111da67068835a5cacdd06a..91c3078d01e3fed229993063188b7ba11bd71c0e 100644 |
--- a/chrome/browser/autocomplete/history_contents_provider.cc |
+++ b/chrome/browser/autocomplete/history_contents_provider.cc |
@@ -113,7 +113,7 @@ void HistoryContentsProvider::Start(const AutocompleteInput& input, |
return; |
} |
- if (results_.size() != 0) { |
+ if (!results_.empty()) { |
// Clear the results. We swap in an empty one as the easy way to clear it. |
history::QueryResults empty_results; |
results_.Swap(&empty_results); |