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

Unified Diff: third_party/WebKit/Source/core/loader/NavigationScheduler.h

Issue 2327643003: Replace ASSERT*() with DCHECK*() in core/fetch/ and core/loader/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ASSERT_UNUSED Created 4 years, 3 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: third_party/WebKit/Source/core/loader/NavigationScheduler.h
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.h b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
index 280b1b16b8c64d66a3d50d1924c02d170a579850..21469c74036fe0a9fcc30d703b0931b547a5313e 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.h
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
@@ -100,7 +100,7 @@ public:
}
~NavigationDisablerForUnload()
{
- ASSERT(s_navigationDisableCount);
+ DCHECK(s_navigationDisableCount);
s_navigationDisableCount--;
}
static bool isNavigationAllowed() { return !s_navigationDisableCount; }

Powered by Google App Engine
This is Rietveld 408576698