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

Unified Diff: third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h

Issue 2833123002: Replace ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/wtf (Closed)
Patch Set: wtf 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
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBuffer.h ('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/platform/wtf/typed_arrays/TypedArrayBase.h
diff --git a/third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h b/third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h
index 415529dba40b636bed52a2069fbf2b202f62f152..34465c57716a70ac683c3e3bf543a3b2830a2090 100644
--- a/third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h
+++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/TypedArrayBase.h
@@ -88,7 +88,7 @@ class TypedArrayBase : public ArrayBufferView {
unsigned byte_offset,
unsigned length) {
RefPtr<ArrayBuffer> buf(std::move(buffer));
- RELEASE_ASSERT(VerifySubRange<T>(buf, byte_offset, length));
+ CHECK(VerifySubRange<T>(buf, byte_offset, length));
return AdoptRef(new Subclass(buf.Release(), byte_offset, length));
}
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBuffer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698