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

Unified Diff: third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp

Issue 1902683005: Worker: Replace ASSERT macros with DCHECK macros (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp
index 637cefd5bcd30fb31e24e56b9b42c9ca3583f9d8..4d4da4f360dd67ebe8e10d95572459991affd919 100644
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp
@@ -83,13 +83,13 @@ DedicatedWorkerThread* DedicatedWorkerGlobalScope::thread() const
static void countOnDocument(UseCounter::Feature feature, ExecutionContext* context)
{
- ASSERT(context->isDocument());
+ DCHECK(context->isDocument());
UseCounter::count(context, feature);
}
static void countDeprecationOnDocument(UseCounter::Feature feature, ExecutionContext* context)
{
- ASSERT(context->isDocument());
+ DCHECK(context->isDocument());
Deprecation::countDeprecation(context, feature);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698