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

Unified Diff: third_party/WebKit/Source/platform/heap/GCTaskRunner.h

Issue 2619493003: Replace ASSERTs in platform/heap/ with DCHECKs
Patch Set: temp Created 3 years, 11 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/platform/heap/GCTaskRunner.h
diff --git a/third_party/WebKit/Source/platform/heap/GCTaskRunner.h b/third_party/WebKit/Source/platform/heap/GCTaskRunner.h
index 211ff27faeb0992d5bc1ab70fd495552eaf1adbf..50dadf023c39bbb976caece84d8790550771fc3c 100644
--- a/third_party/WebKit/Source/platform/heap/GCTaskRunner.h
+++ b/third_party/WebKit/Source/platform/heap/GCTaskRunner.h
@@ -74,7 +74,7 @@ class GCTaskObserver final : public WebThread::TaskObserver {
~GCTaskObserver() {
// m_nesting can be 1 if this was unregistered in a task and
// didProcessTask was not called.
- ASSERT(!m_nesting || m_nesting == 1);
+ DCHECK(!m_nesting || m_nesting == 1);
}
virtual void willProcessTask() { m_nesting++; }

Powered by Google App Engine
This is Rietveld 408576698