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

Unified Diff: third_party/WebKit/Source/modules/fetch/Request.cpp

Issue 2823203003: Replace ASSERT_NOT_REACHED with NOTREACHED in modules/fetch (Closed)
Patch Set: Created 3 years, 8 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/modules/fetch/Request.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/Request.cpp b/third_party/WebKit/Source/modules/fetch/Request.cpp
index de68928d23e282c826a96b5ef7569c6f724cd1d7..0b1ebcc6fa37cac4b449ffe524d12e4b3a79890e 100644
--- a/third_party/WebKit/Source/modules/fetch/Request.cpp
+++ b/third_party/WebKit/Source/modules/fetch/Request.cpp
@@ -581,7 +581,7 @@ String Request::Context() const {
case WebURLRequest::kRequestContextXSLT:
return "xslt";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "";
}
@@ -613,7 +613,7 @@ String Request::getReferrerPolicy() const {
DCHECK(RuntimeEnabledFeatures::reducedReferrerGranularityEnabled());
return "no-referrer-when-downgrade-origin-when-cross-origin";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return String();
}
@@ -631,7 +631,7 @@ String Request::mode() const {
case WebURLRequest::kFetchRequestModeNavigate:
return "navigate";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "";
}
@@ -649,7 +649,7 @@ String Request::credentials() const {
case WebURLRequest::kFetchCredentialsModePassword:
return "password";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "";
}
@@ -683,7 +683,7 @@ String Request::redirect() const {
case WebURLRequest::kFetchRedirectModeManual:
return "manual";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "";
}
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FetchManager.cpp ('k') | third_party/WebKit/Source/modules/fetch/Response.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698