Fix ShelfSpinnerController DCHECK controller is null when Finished
In crrev.com/c/1837323 |controller_| is set to null when an animation starts. The old DCHECK was never updated. This CL updates it to expect |controller_| to be null if the spinner is being removed from UpdateApps() because the animation is Finished(). https://source.chromium.org/chromium/chromium/src/+/master:chrome/browser/ui/ash/launcher/shelf_spinner_controller.cc;l=319-323;drc=c2c84a5ac7711dedcc0b7ff9e79bf7f2da019537 Bug: 1077722 Change-Id: Ie8d6b332c9cd869a7cc88dc58827e83e29e9e675 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2408595 Auto-Submit: Joel Hockey <joelhockey@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Reviewed-by:Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#806519}
Showing
Please register or sign in to comment