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

Unified Diff: third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.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/ReadableStreamOperationsTest.cpp
diff --git a/third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp b/third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp
index d90424efda2e0371cd4bfd198a57c2001fdbf6ac..82d2c2136c55407b5d1979240a5c5ce9697bad84 100644
--- a/third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp
+++ b/third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp
@@ -48,7 +48,7 @@ class Iteration final : public GarbageCollectedFinalized<Iteration> {
Iteration() : is_set_(false), is_done_(false), is_valid_(true) {}
void Set(ScriptValue v) {
- ASSERT(!v.IsEmpty());
+ DCHECK(!v.IsEmpty());
is_set_ = true;
v8::TryCatch block(v.GetScriptState()->GetIsolate());
v8::Local<v8::Value> value;

Powered by Google App Engine
This is Rietveld 408576698