Fix ownership semantics in LayerAnimator |
|
Issue descriptionLayerAnimator currently takes and returns raw pointers, and the intention of these methods is often to transfer ownership of objects to and from the animator. This is unclear and error prone. Instead, we should be passing unique_ptr's when the intent is to transfer ownership.
,
Dec 18
Moreover, this bug makes use of weak_ptr, which shouldn't be necessary. |
|
►
Sign in to add a comment |
|
Comment 1 by smcgruer@chromium.org
, Dec 18