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

Unified Diff: third_party/WebKit/Source/core/loader/MixedContentChecker.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: Rebase. 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/MixedContentChecker.cpp
diff --git a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
index 6de8281e6eb5a13c9dfdc0d1073376342a4b162e..153f4eefbae5b004e713dbc8c41af8a3223711cc 100644
--- a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
+++ b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
@@ -378,7 +378,7 @@ void MixedContentChecker::handleCertificateError(LocalFrame* frame, const Resour
// contextTypeFromRequestContext() never returns NotMixedContent (it
// computes the type of mixed content, given that the content is
// mixed).
- DCHECK(contextType != WebMixedContent::ContextType::NotMixedContent);
+ DCHECK_NE(contextType, WebMixedContent::ContextType::NotMixedContent);
client->didDisplayContentWithCertificateErrors(response.url());
}
}

Powered by Google App Engine
This is Rietveld 408576698