Index: chrome/browser/history/query_parser.cc |
diff --git a/chrome/browser/history/query_parser.cc b/chrome/browser/history/query_parser.cc |
index 1037b6cc6530bff6c110ba6a3df1a70c9cae2102..a5447f60818c351ad7d3c23e1986ff864062e629 100644 |
--- a/chrome/browser/history/query_parser.cc |
+++ b/chrome/browser/history/query_parser.cc |
@@ -245,7 +245,7 @@ QueryParser::QueryParser() { |
// static |
bool QueryParser::IsWordLongEnoughForPrefixSearch(const string16& word) { |
- DCHECK(word.size() > 0); |
+ DCHECK(!word.empty()); |
size_t minimum_length = 3; |
// We intentionally exclude Hangul Jamos (both Conjoining and compatibility) |
// because they 'behave like' Latin letters. Moreover, we should |