diff options
Diffstat (limited to 'chrome/browser/history/query_parser.cc')
-rw-r--r-- | chrome/browser/history/query_parser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/history/query_parser.cc b/chrome/browser/history/query_parser.cc index 1037b6c..a5447f6 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 |