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

Unified Diff: third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.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/fetch/MultipartImageResourceParser.cpp
diff --git a/third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.cpp b/third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.cpp
index 69080f02e8ca99a1309dba341440576ab7856bdd..ce6dc475ce0d3fab5a1651424e6609c25f137847 100644
--- a/third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.cpp
+++ b/third_party/WebKit/Source/core/fetch/MultipartImageResourceParser.cpp
@@ -25,7 +25,7 @@ MultipartImageResourceParser::MultipartImageResourceParser(const ResourceRespons
void MultipartImageResourceParser::appendData(const char* bytes, size_t size)
{
- ASSERT(!isCancelled());
+ DCHECK(!isCancelled());
// m_sawLastBoundary means that we've already received the final boundary
// token. The server should stop sending us data at this point, but if it
// does, we just throw it away.
@@ -114,7 +114,7 @@ void MultipartImageResourceParser::appendData(const char* bytes, size_t size)
void MultipartImageResourceParser::finish()
{
- ASSERT(!isCancelled());
+ DCHECK(!isCancelled());
if (m_sawLastBoundary)
return;
// If we have any pending data and we're not in a header, go ahead and send
« no previous file with comments | « third_party/WebKit/Source/core/fetch/MemoryCache.cpp ('k') | third_party/WebKit/Source/core/fetch/RawResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698