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

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

Issue 2816033003: Replace ASSERT with DHCECK_op in platform/heap (Closed)
Patch Set: Replace ASSERT with CHECK_op in platform/heap Created 3 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
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 c4a9d542ea62af88625c9930ef0f68d5eb7e27bc..18c662c14e9c7219a5b2223d0a0c3eddf7e41012 100644
--- a/third_party/WebKit/Source/platform/heap/GCTaskRunner.h
+++ b/third_party/WebKit/Source/platform/heap/GCTaskRunner.h
@@ -50,7 +50,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(!nesting_ || nesting_ == 1);
+ DCHECK(!nesting_ || nesting_ == 1);
}
virtual void WillProcessTask() { nesting_++; }

Powered by Google App Engine
This is Rietveld 408576698