diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/graphics/animation_worklet_mutator_dispatcher_impl.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/graphics/animation_worklet_mutator_dispatcher_impl.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/third_party/blink/renderer/platform/graphics/animation_worklet_mutator_dispatcher_impl.cc b/chromium/third_party/blink/renderer/platform/graphics/animation_worklet_mutator_dispatcher_impl.cc index 64144689835..e34a9cccf59 100644 --- a/chromium/third_party/blink/renderer/platform/graphics/animation_worklet_mutator_dispatcher_impl.cc +++ b/chromium/third_party/blink/renderer/platform/graphics/animation_worklet_mutator_dispatcher_impl.cc @@ -199,9 +199,9 @@ void AnimationWorkletMutatorDispatcherImpl::MutateAsynchronouslyInternal( DCHECK(host_queue_->BelongsToCurrentThread()); on_async_mutation_complete_ = std::move(done_callback); int next_async_mutation_id = GetNextAsyncMutationId(); - TRACE_EVENT_ASYNC_BEGIN0("cc", - "AnimationWorkletMutatorDispatcherImpl::MutateAsync", - next_async_mutation_id); + TRACE_EVENT_NESTABLE_ASYNC_BEGIN0( + "cc", "AnimationWorkletMutatorDispatcherImpl::MutateAsync", + TRACE_ID_LOCAL(next_async_mutation_id)); CrossThreadOnceClosure on_done = CrossThreadBindOnce( [](scoped_refptr<base::SingleThreadTaskRunner> host_queue, @@ -239,9 +239,9 @@ void AnimationWorkletMutatorDispatcherImpl::AsyncMutationsDone( } // The trace event deos not include queuing time. It covers the interval // between dispatching the request and retrieving the results. - TRACE_EVENT_ASYNC_END0("cc", - "AnimationWorkletMutatorDispatcherImpl::MutateAsync", - async_mutation_id); + TRACE_EVENT_NESTABLE_ASYNC_END0( + "cc", "AnimationWorkletMutatorDispatcherImpl::MutateAsync", + TRACE_ID_LOCAL(async_mutation_id)); // The Async mutation duration is the total time between request and // completion, and thus includes queuing time. UMA_HISTOGRAM_CUSTOM_MICROSECONDS_TIMES( |