New issue
Advanced search Search tips

Issue 916124 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Task



Sign in to add a comment

Fix ownership semantics in LayerAnimator

Project Member Reported by vollick@google.com, Dec 18

Issue description

LayerAnimator 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.

 
Labels: -Type-Bug Hotlist-CodeHealth Type-Task
Moreover, this bug makes use of weak_ptr, which shouldn't be necessary.

Sign in to add a comment