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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp

Issue 2862963003: Replace ASSERT with DCHECK in modules/ (Closed)
Patch Set: NOTREACHED instead of DCHECK(false) 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/modules/serviceworkers/ServiceWorker.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
index a8c4118cd56b5ac67209c9ca57b1cd98656936db..5456aea1f7bd01409f959caacdcf1643e9cdc946 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
@@ -155,7 +155,7 @@ ServiceWorker::ServiceWorker(ExecutionContext* execution_context,
: AbstractWorker(execution_context),
handle_(std::move(handle)),
was_stopped_(false) {
- ASSERT(handle_);
+ DCHECK(handle_);
handle_->ServiceWorker()->SetProxy(this);
}

Powered by Google App Engine
This is Rietveld 408576698