| Index: components/tracing/child_memory_dump_manager_delegate_impl.cc
|
| diff --git a/components/tracing/child_memory_dump_manager_delegate_impl.cc b/components/tracing/child_memory_dump_manager_delegate_impl.cc
|
| index ced940b2295c506bc1ffe376e96d343627d3e647..47711eb91be5b3e24a4dbfd5e4ff24b41944f946 100644
|
| --- a/components/tracing/child_memory_dump_manager_delegate_impl.cc
|
| +++ b/components/tracing/child_memory_dump_manager_delegate_impl.cc
|
| @@ -40,7 +40,7 @@ void ChildMemoryDumpManagerDelegateImpl::SetChildTraceMessageFilter(
|
| const auto& task_runner = ctmf ? (ctmf->ipc_task_runner()) : nullptr;
|
| // Check that we are either registering the CTMF or tearing it down, but not
|
| // replacing a valid instance with another one (should never happen).
|
| - DCHECK(ctmf_ == nullptr || (ctmf == nullptr && ctmf_task_runner_ != nullptr));
|
| + DCHECK(!ctmf_ || (!ctmf && ctmf_task_runner_));
|
| ctmf_ = ctmf;
|
|
|
| {
|
|
|