Index: chrome/browser/autocomplete/autocomplete_match.cc |
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc |
index f05892eb4ebd8ff944a801956cfc936c0e6d7d8f..e19f156a417bcf77998f82d8c4547d698f56277f 100644 |
--- a/chrome/browser/autocomplete/autocomplete_match.cc |
+++ b/chrome/browser/autocomplete/autocomplete_match.cc |
@@ -166,7 +166,7 @@ void AutocompleteMatch::ValidateClassifications( |
} |
// The classifications should always cover the whole string. |
- DCHECK(classifications.size() > 0) << "No classification for text"; |
+ DCHECK(!classifications.empty()) << "No classification for text"; |
DCHECK(classifications[0].offset == 0) << "Classification misses beginning"; |
if (classifications.size() == 1) |
return; |