Bug 1640525 - Avoid looking up AnimatedValue twice. r=boris
commitcb41bbc2c4fdfe7028fa7ab320626fdb0e83a39b
authorHiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Tue, 26 May 2020 21:56:20 +0000 (26 21:56 +0000)
committerHiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Tue, 26 May 2020 21:56:20 +0000 (26 21:56 +0000)
tree99b76c7f4449df10eaa33f39ddfb8762429e2baa
parent5df8c995743da6b8963961d8e218d655e88bb4f8
Bug 1640525 - Avoid looking up AnimatedValue twice. r=boris

We've already tried to looking up the existing AnimatedValue so that when we
want to replace the old one in the hash table we can reuse the existing one.
With this manner, we no longer need to copy TransformData if we don't need to
do.

Differential Revision: https://phabricator.services.mozilla.com/D76633
gfx/layers/AnimationHelper.cpp
gfx/layers/AnimationHelper.h
gfx/layers/composite/AsyncCompositionManager.cpp