[iOS] Fixing the dismiss of the Manage Sync Settings view
-[UIViewController popViewControllerAnimated:] should not be used to know if a view controller is removed or not. This method is called when the view starts to be swapped away. Unfortunately, the gesture can cancel the swipe. This is an issue since the coordinator is stopped and deallocated at as soon as the method is called. This method needs to be replaced by -[UIViewController didMoveToParentViewController:]. This method is called when the view controller is really popped out of the screen. Cleanup for popViewControllerAnimated with: crrev.com/c/2089811 Bug: 1055782 Change-Id: Ibddec42996506eec3d6898ef4a2cc68ab8973784 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2088516Reviewed-by:Gauthier Ambard <gambard@chromium.org> Commit-Queue: Jérôme Lebel <jlebel@chromium.org> Auto-Submit: Jérôme Lebel <jlebel@chromium.org> Cr-Commit-Position: refs/heads/master@{#747408}
Showing
Please register or sign in to comment