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 |