Commit 020de4c5 authored by Yi Gu's avatar Yi Gu Committed by Commit Bot

[CodeHealth] Remove unnecessary function call in Animation ctor

AttachCompositorTimeline requires a compositor_animation_ which can only
be created during Animation::PreCommit().

Bug: None
Change-Id: I8fea8c9f787ad07fe77e3aaebedaa3bcbf9c5098
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019470Reviewed-by: default avatarStephen McGruer <smcgruer@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735389}
parent 4b8ee3d6
......@@ -216,7 +216,6 @@ Animation::Animation(ExecutionContext* execution_context,
else
document_->Timeline().AnimationAttached(this);
AttachCompositorTimeline();
probe::DidCreateAnimation(document_, sequence_number_);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment