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

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

Issue 1992873004: Replace all occurrences of RELEASE_ASSERT in wtf with CHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Specialized dchecks in utils.h. Created 4 years, 7 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/wtf/typed_arrays/TypedArrayBase.h
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h b/third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h
index 2dffab2b431f3ff5d6e88a29acd3c240c00d4dbf..441ab07272172ba69c15b10a086d67d811b0f978 100644
--- a/third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h
+++ b/third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h
@@ -93,7 +93,7 @@ protected:
static PassRefPtr<Subclass> create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
RefPtr<ArrayBuffer> buf(buffer);
- RELEASE_ASSERT(verifySubRange<T>(buf, byteOffset, length));
+ CHECK(verifySubRange<T>(buf, byteOffset, length));
return adoptRef(new Subclass(buf.release(), byteOffset, length));
}

Powered by Google App Engine
This is Rietveld 408576698