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

Unified Diff: third_party/WebKit/Source/platform/exported/WebBlobData.cpp

Issue 2811463002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/exported (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/exported/WebBlobData.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebBlobData.cpp b/third_party/WebKit/Source/platform/exported/WebBlobData.cpp
index 58c07ff5052cf1588d069cd174597794c14a731a..3a468adc6419509c5c13490a3474dbb02ab37069 100644
--- a/third_party/WebKit/Source/platform/exported/WebBlobData.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebBlobData.cpp
@@ -41,12 +41,12 @@ WebBlobData::WebBlobData() {}
WebBlobData::~WebBlobData() {}
size_t WebBlobData::ItemCount() const {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
return private_->Items().size();
}
bool WebBlobData::ItemAt(size_t index, Item& result) const {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
if (index >= private_->Items().size())
return false;
@@ -77,12 +77,12 @@ bool WebBlobData::ItemAt(size_t index, Item& result) const {
result.file_system_url = item.file_system_url;
return true;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
WebString WebBlobData::ContentType() const {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
return private_->ContentType();
}

Powered by Google App Engine
This is Rietveld 408576698