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

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

Issue 9958134: Adds some debugging code to verify the dictionaries are non-null at (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites.cc
diff --git a/chrome/browser/history/top_sites.cc b/chrome/browser/history/top_sites.cc
index 02abeb99fe64ccdafe9986a1262b970550253e4a..12e9a51f8d51bbc94a2ae5a25d88f07d9761d73a 100644
--- a/chrome/browser/history/top_sites.cc
+++ b/chrome/browser/history/top_sites.cc
@@ -170,8 +170,8 @@ TopSites::TopSites(Profile* profile)
profile_->GetPrefs()->GetDictionary(prefs::kNtpMostVisitedURLsBlacklist);
pinned_urls_ =
profile_->GetPrefs()->GetDictionary(prefs::kNtpMostVisitedPinnedURLs);
- DCHECK(blacklist_ != NULL);
- DCHECK(pinned_urls_ != NULL);
+ CHECK(blacklist_ != NULL);
+ CHECK(pinned_urls_ != NULL);
}
void TopSites::Init(const FilePath& db_name) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698