| Index: components/scheduler/base/task_queue_impl.cc
|
| diff --git a/components/scheduler/base/task_queue_impl.cc b/components/scheduler/base/task_queue_impl.cc
|
| index c3f1d8a00d478fff5de3826d5bca312c711afd12..6ceb993291485a0ec8f6298439353f8577925622 100644
|
| --- a/components/scheduler/base/task_queue_impl.cc
|
| +++ b/components/scheduler/base/task_queue_impl.cc
|
| @@ -661,7 +661,8 @@ TimeDomain* TaskQueueImpl::GetTimeDomain() const {
|
|
|
| void TaskQueueImpl::SetBlameContext(
|
| base::trace_event::BlameContext* blame_context) {
|
| - main_thread_only().blame_context = blame_context;
|
| + main_thread_only().blame_context =
|
| + blame_context ? blame_context->weak_ptr() : nullptr;
|
| }
|
|
|
| // static
|
|
|