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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapTest.cpp

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/HeapTest.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
index 566c576bb228de1b8e3a2549a8f3f61555293824..c3d0aa58ecde03ca0c071339ef8076e59a984131 100644
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
@@ -5499,7 +5499,7 @@ class DeadBitTester {
// GC.
uintptr_t stackPtrValue = s_workerObjectPointer;
s_workerObjectPointer = 0;
- ASSERT_UNUSED(stackPtrValue, stackPtrValue);
+ DCHECK(stackPtrValue);
conservativelyCollectGarbage();
// Since the worker thread is not sweeping the worker object should
@@ -5800,7 +5800,7 @@ class RecursiveLockingTester {
ThreadState::attachCurrentThread(BlinkGC::MainThreadHeapMode);
DestructorLockingObject* dlo = DestructorLockingObject::create();
- ASSERT_UNUSED(dlo, dlo);
+ DCHECK(dlo);
// Wake up the main thread which is waiting for the worker to do its
// allocation.

Powered by Google App Engine
This is Rietveld 408576698