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

Unified Diff: third_party/WebKit/Source/core/loader/HttpEquiv.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/HttpEquiv.cpp
diff --git a/third_party/WebKit/Source/core/loader/HttpEquiv.cpp b/third_party/WebKit/Source/core/loader/HttpEquiv.cpp
index 083f1126735ed6cc8c394f1c2369997476808c48..3c3e0ea739ee224d4b950029ae3ef1f1c454d0d5 100644
--- a/third_party/WebKit/Source/core/loader/HttpEquiv.cpp
+++ b/third_party/WebKit/Source/core/loader/HttpEquiv.cpp
@@ -21,7 +21,7 @@ namespace blink {
void HttpEquiv::process(Document& document, const AtomicString& equiv, const AtomicString& content, bool inDocumentHeadElement)
{
- ASSERT(!equiv.isNull() && !content.isNull());
+ DCHECK(!equiv.isNull() && !content.isNull());
yhirano 2016/09/12 04:33:13 How about having two DCHECKs?
hiroshige 2016/09/13 08:43:21 Done.
if (equalIgnoringCase(equiv, "default-style")) {
processHttpEquivDefaultStyle(document, content);
@@ -59,7 +59,7 @@ void HttpEquiv::processHttpEquivContentSecurityPolicy(Document& document, const
else if (equalIgnoringCase(equiv, "content-security-policy-report-only"))
document.contentSecurityPolicy()->didReceiveHeader(content, ContentSecurityPolicyHeaderTypeReport, ContentSecurityPolicyHeaderSourceMeta);
else
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
void HttpEquiv::processHttpEquivAcceptCH(Document& document, const AtomicString& content)

Powered by Google App Engine
This is Rietveld 408576698