DescriptionDon't clone WebAnimation in WebLayerImpl::addAnimation().
Blink does not need a WebAnimation object after passing it to Chromium, so we
can pass the ownership of cc:Animation in WebAnimation to Chromium compositor
instead of cloning.
ANIMATION_OWNERSHIP_TRANSFER is a temporary macro to change addAnimation() in
both Blink and Chromium. If ANIMATION_OWNERSHIP_TRANSFER is defined,
Blink passes ownership of WebAnimation to Chromium, so Chromium must delete the
given pointer.
BUG=290217
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229128
Patch Set 1 #
Total comments: 1
Patch Set 2 : Delete the pointer under ANIMATION_OWNERSHIP_NOT_TRANSFER guard #Patch Set 3 : CL to land #
Messages
Total messages: 22 (0 generated)
|