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

Unified Diff: third_party/WebKit/Source/wtf/typed_arrays/ArrayPiece.cpp

Issue 2585673002: Replace ASSERT, ENABLE(ASSERT), and ASSERT_NOT_REACHED in wtf (Closed)
Patch Set: Fix an Asan issue with LinkedHashSetNodeBase::unlink Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/typed_arrays/ArrayPiece.cpp
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/ArrayPiece.cpp b/third_party/WebKit/Source/wtf/typed_arrays/ArrayPiece.cpp
index 1666fdcc2c787732ff7207c28796a79ee6a13539..27a3bc92891a7a6bed08fd00ef04dc1c8b06825a 100644
--- a/third_party/WebKit/Source/wtf/typed_arrays/ArrayPiece.cpp
+++ b/third_party/WebKit/Source/wtf/typed_arrays/ArrayPiece.cpp
@@ -39,7 +39,7 @@ bool ArrayPiece::isNull() const {
}
void* ArrayPiece::data() const {
- ASSERT(!isNull());
+ DCHECK(!isNull());
return m_data;
}
@@ -48,7 +48,7 @@ unsigned char* ArrayPiece::bytes() const {
}
unsigned ArrayPiece::byteLength() const {
- ASSERT(!isNull());
+ DCHECK(!isNull());
return m_byteLength;
}
« no previous file with comments | « third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698