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

Unified Diff: third_party/WebKit/Source/core/loader/NavigationPolicy.cpp

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/NavigationPolicy.cpp
diff --git a/third_party/WebKit/Source/core/loader/NavigationPolicy.cpp b/third_party/WebKit/Source/core/loader/NavigationPolicy.cpp
index 6f855db37c4ef20e092c3bc4d039edbafb7516d8..acea00daeada5cb43365a3bc3030678c77b81de0 100644
--- a/third_party/WebKit/Source/core/loader/NavigationPolicy.cpp
+++ b/third_party/WebKit/Source/core/loader/NavigationPolicy.cpp
@@ -44,7 +44,7 @@ bool navigationPolicyFromMouseEvent(unsigned short button, bool ctrl, bool shift
if (!newTabModifier && !shift && !alt)
return false;
- ASSERT(policy);
+ DCHECK(policy);
if (newTabModifier) {
if (shift)
*policy = NavigationPolicyNewForegroundTab;

Powered by Google App Engine
This is Rietveld 408576698