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

Unified Diff: third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase 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/platform/mhtml/ArchiveResource.cpp
diff --git a/third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp b/third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp
index 3eacc9d265fb9f7427ce3d6737c2f2b11ecfdf9f..50ae432e4405c61f42c5b92a19b49e1105b099a3 100644
--- a/third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp
+++ b/third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp
@@ -40,7 +40,7 @@ ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data,
data_(std::move(data)),
mime_type_(mime_type),
text_encoding_(text_encoding) {
- ASSERT(data_);
+ DCHECK(data_);
}
ArchiveResource::~ArchiveResource() {}

Powered by Google App Engine
This is Rietveld 408576698