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

Unified Diff: third_party/WebKit/Source/core/streams/UnderlyingSourceBase.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/UnderlyingSourceBase.cpp
diff --git a/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp b/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp
index 38f825159c1057ae2c99eaf6a6981627c582fd0f..2d9b1088266d01115025160be7aba433b4625e43 100644
--- a/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp
+++ b/third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp
@@ -16,7 +16,7 @@ ScriptPromise UnderlyingSourceBase::startWrapper(ScriptState* script_state,
ScriptValue js_controller) {
// Cannot call start twice (e.g., cannot use the same UnderlyingSourceBase to
// construct multiple streams).
- ASSERT(!controller_);
+ DCHECK(!controller_);
controller_ = new ReadableStreamController(js_controller);

Powered by Google App Engine
This is Rietveld 408576698