summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/history_contents_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/history_contents_provider.cc')
-rw-r--r--chrome/browser/autocomplete/history_contents_provider.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/history_contents_provider.cc b/chrome/browser/autocomplete/history_contents_provider.cc
index 44d24e8d..91c3078 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);