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

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

Issue 2016223002: Revert of Replace all occurrences of RELEASE_ASSERT in wtf with CHECK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve conflict in StringImpl.cpp. 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
« no previous file with comments | « third_party/WebKit/Source/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/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 441ab07272172ba69c15b10a086d67d811b0f978..2dffab2b431f3ff5d6e88a29acd3c240c00d4dbf 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);
- CHECK(verifySubRange<T>(buf, byteOffset, length));
+ RELEASE_ASSERT(verifySubRange<T>(buf, byteOffset, length));
return adoptRef(new Subclass(buf.release(), byteOffset, length));
}
« no previous file with comments | « third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698