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

Unified Diff: chrome/browser/extensions/activity_log/hashed_ad_network_database.cc

Issue 842523002: base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck2: withoutandroidchange Created 5 years, 11 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/extensions/activity_log/hashed_ad_network_database.cc
diff --git a/chrome/browser/extensions/activity_log/hashed_ad_network_database.cc b/chrome/browser/extensions/activity_log/hashed_ad_network_database.cc
index 04cc36e3d39e56f4a0ca267ab3490b89ca4245eb..5e18451c082c61432c21f784a172a8ff56d91c4e 100644
--- a/chrome/browser/extensions/activity_log/hashed_ad_network_database.cc
+++ b/chrome/browser/extensions/activity_log/hashed_ad_network_database.cc
@@ -38,7 +38,7 @@ HashedAdNetworkDatabase::~HashedAdNetworkDatabase() {
bool HashedAdNetworkDatabase::IsAdNetwork(const GURL& url) const {
// The list should be sorted. Check once in debug builds.
-#if DCHECK_IS_ON
+#if DCHECK_IS_ON()
static bool is_sorted = false;
if (!is_sorted) {
std::vector<std::string> list;

Powered by Google App Engine
This is Rietveld 408576698