| Index: base/trace_event/memory_dump_manager.cc
|
| diff --git a/base/trace_event/memory_dump_manager.cc b/base/trace_event/memory_dump_manager.cc
|
| index 874e6292a058052459594bc732a040dd5c85ac3f..cb3809360174ad6003131abd61a6659630202399 100644
|
| --- a/base/trace_event/memory_dump_manager.cc
|
| +++ b/base/trace_event/memory_dump_manager.cc
|
| @@ -206,9 +206,9 @@
|
| // and OnMemoryDump() at the same time).
|
| // Otherwise, it is not possible to guarantee that its unregistration is
|
| // race-free. If you hit this DCHECK, your MDP has a bug.
|
| - DCHECK(!subtle::NoBarrier_Load(&memory_tracing_enabled_) ||
|
| - (mdp_iter->task_runner &&
|
| - mdp_iter->task_runner->BelongsToCurrentThread()))
|
| + DCHECK_IMPLIES(
|
| + subtle::NoBarrier_Load(&memory_tracing_enabled_),
|
| + mdp_iter->task_runner && mdp_iter->task_runner->BelongsToCurrentThread())
|
| << "The MemoryDumpProvider attempted to unregister itself in a racy way. "
|
| << "Please file a crbug.";
|
|
|
|
|