[ios] Adds DiscoverFeedVC as ContentSuggestions ChildVC
In order to properly handle the life cycle of the DiscoverFeedVC the following changes are made: - Makes the DiscoverVC a ChildVC of the ContentSuggestionsVC and removes it on dealloc. - ContentSuggestionsCoordinator now owns the DiscoverFeedVC. - Adds isDiscoverItem method in ContentSuggestionsCollectionUpdater. Without these changes the DiscoverFeedVC is not properly dealloc-ed and might lead to some crashes. Bug: 1085419 Change-Id: If4b7c1e2ada6876c036527ac5eefdae020339327 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2258367 Commit-Queue: Sergio Collazos <sczs@chromium.org> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#781415}
Showing
Please register or sign in to comment