}
TopIconAnimationView::~TopIconAnimationView() {
+ // Required due to RequiresNotificationWhenAnimatorDestroyed() returning true.
+ // See ui::LayerAnimationObserver for details.
+ StopObservingImplicitAnimations();
}
void TopIconAnimationView::AddObserver(TopIconAnimationObserver* observer) {
delete this;
}
+bool TopIconAnimationView::RequiresNotificationWhenAnimatorDestroyed() const {
+ return true;
+}
+
} // namespace app_list