cc::ElementAnimations tracks two booleans, needs_push_properties_ and needs_update_impl_client_state_. However, the latter being true implies the former (since SetNeedsUpdateImplClientState() calls SetNeedsPushProperties()), and only when both are true does ElementAnimations::PushPropertiesTo actually do anything.
Therefore, we could simplify this logic as follows:
1. Remove needs_push_properties_
2. Get rid of calls to ElementAnimations::SetNeedsPushProperties and remove the method.
3. Have ElementAnimations::PushPropertiesTo only check needs_update_impl_client_state_
Comment 1 by bugdroid1@chromium.org
, Oct 3 2017