Index: chrome/browser/history/history_types.cc |
diff --git a/chrome/browser/history/history_types.cc b/chrome/browser/history/history_types.cc |
index 65b1935aff1578c9c089a007cfef28d0a8b2838d..9f56ff0e0377e728589316498c6c061ee91af4d6 100644 |
--- a/chrome/browser/history/history_types.cc |
+++ b/chrome/browser/history/history_types.cc |
@@ -174,7 +174,7 @@ const size_t* QueryResults::MatchesForURL(const GURL& url, |
// All entries in the map should have at least one index, otherwise it |
// shouldn't be in the map. |
- DCHECK(found->second->size() > 0); |
+ DCHECK(!found->second->empty()); |
if (num_matches) |
*num_matches = found->second->size(); |
return &found->second->front(); |