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

Unified Diff: third_party/WebKit/Source/core/streams/ReadableStreamOperations.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 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/core/streams/ReadableStreamOperations.cpp
diff --git a/third_party/WebKit/Source/core/streams/ReadableStreamOperations.cpp b/third_party/WebKit/Source/core/streams/ReadableStreamOperations.cpp
index 7e92a5507806a66c05f73d3feaa194bab5b40c93..ec9645d423df036ae6acd0b99089c6fb2872c926 100644
--- a/third_party/WebKit/Source/core/streams/ReadableStreamOperations.cpp
+++ b/third_party/WebKit/Source/core/streams/ReadableStreamOperations.cpp
@@ -59,7 +59,7 @@ ScriptValue ReadableStreamOperations::GetReader(ScriptState* script_state,
bool ReadableStreamOperations::IsReadableStream(ScriptState* script_state,
ScriptValue value) {
- ASSERT(!value.IsEmpty());
+ DCHECK(!value.IsEmpty());
if (!value.IsObject())
return false;
@@ -129,7 +129,7 @@ bool ReadableStreamOperations::IsErrored(ScriptState* script_state,
bool ReadableStreamOperations::IsReadableStreamDefaultReader(
ScriptState* script_state,
ScriptValue value) {
- ASSERT(!value.IsEmpty());
+ DCHECK(!value.IsEmpty());
if (!value.IsObject())
return false;

Powered by Google App Engine
This is Rietveld 408576698