Index: base/task_scheduler/scheduler_worker_pool_impl_unittest.cc |
diff --git a/base/task_scheduler/scheduler_worker_pool_impl_unittest.cc b/base/task_scheduler/scheduler_worker_pool_impl_unittest.cc |
index 7ae83ca95f9ff8fb48a0d322513ea7cb5aa8e341..4d560f3b57394fddaf575407ba3c17a660010d72 100644 |
--- a/base/task_scheduler/scheduler_worker_pool_impl_unittest.cc |
+++ b/base/task_scheduler/scheduler_worker_pool_impl_unittest.cc |
@@ -352,9 +352,6 @@ void ExpectIORestriction(IORestriction io_restriction, WaitableEvent* event) { |
if (io_restriction == IORestriction::ALLOWED) { |
ThreadRestrictions::AssertIOAllowed(); |
} else { |
- static_assert( |
- ENABLE_THREAD_RESTRICTIONS == DCHECK_IS_ON(), |
- "ENABLE_THREAD_RESTRICTIONS and DCHECK_IS_ON() have diverged."); |
EXPECT_DCHECK_DEATH({ ThreadRestrictions::AssertIOAllowed(); }, ""); |
} |