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

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

Issue 2804023004: Replace ASSERT with DCHECK 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/Response.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/Response.cpp b/third_party/WebKit/Source/modules/fetch/Response.cpp
index 204022b10170330c8eb623ebd17d04dec671eae7..e8234e2f31fa6c99aac11ec64fe325a0228beffe 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.cpp
+++ b/third_party/WebKit/Source/modules/fetch/Response.cpp
@@ -88,7 +88,7 @@ FetchResponseData* createFetchResponseDataFromWebResponse(
case WebServiceWorkerResponseTypeDefault:
break;
case WebServiceWorkerResponseTypeError:
- ASSERT(response->getType() == FetchResponseData::ErrorType);
+ DCHECK(response->getType() == FetchResponseData::ErrorType);
tkent 2017/04/08 02:29:55 Use DCHECK_EQ if it doesn't cause a build failure.
break;
}

Powered by Google App Engine
This is Rietveld 408576698