Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6344)

Unified Diff: chrome/browser/history/top_sites_cache.cc

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/top_sites_cache.cc
diff --git a/chrome/browser/history/top_sites_cache.cc b/chrome/browser/history/top_sites_cache.cc
index 4448c89e939bba9484294042cd3078c5cd878e10..4469f498169399333bb93b62e0b78fe93db4729d 100644
--- a/chrome/browser/history/top_sites_cache.cc
+++ b/chrome/browser/history/top_sites_cache.cc
@@ -137,7 +137,7 @@ void TopSitesCache::CountForcedURLs() {
num_forced_urls_++;
}
// In debug, ensure the cache user has no forced URLs pass that point.
- if (DCHECK_IS_ON()) {
+ if (DCHECK_IS_ON) {
for (size_t i = num_forced_urls_; i < top_sites_.size(); ++i) {
DCHECK(top_sites_[i].last_forced_time.is_null())
<< "All the forced URLs must appear before non-forced URLs.";

Powered by Google App Engine
This is Rietveld 408576698