Index: components/history/core/browser/top_sites_cache.cc |
diff --git a/components/history/core/browser/top_sites_cache.cc b/components/history/core/browser/top_sites_cache.cc |
index 647dd01d44528b55411e22a77b4dcc7bae525d35..124e9b2fe2afd1a78965321d0d8e37103201ddad 100644 |
--- a/components/history/core/browser/top_sites_cache.cc |
+++ b/components/history/core/browser/top_sites_cache.cc |
@@ -136,7 +136,7 @@ void TopSitesCache::CountForcedURLs() { |
break; |
num_forced_urls_++; |
} |
-#if DCHECK_IS_ON |
+#if DCHECK_IS_ON() |
// In debug, ensure the cache user has no forced URLs pass that point. |
for (size_t i = num_forced_urls_; i < top_sites_.size(); ++i) { |
DCHECK(top_sites_[i].last_forced_time.is_null()) |