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

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

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules 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 5456aea1f7bd01409f959caacdcf1643e9cdc946..af6d3029a3c417dc37a80c563ee81b9bbfa6fb34 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp
@@ -143,7 +143,7 @@ ServiceWorker* ServiceWorker::GetOrCreate(
ServiceWorker* existing_worker =
static_cast<ServiceWorker*>(handle->ServiceWorker()->Proxy());
if (existing_worker) {
- ASSERT(existing_worker->GetExecutionContext() == execution_context);
+ DCHECK_EQ(existing_worker->GetExecutionContext(), execution_context);
return existing_worker;
}

Powered by Google App Engine
This is Rietveld 408576698