[ios] Removes NS_RETURNS_RETAINED from NewFeedViewController
It seems that the NS_RETURNS_RETAINED annotation is causing a zombie crash when dealoc-ing the VC. The crash started to happen after http://cl/339487970/depot/google3/googlemac/iPhone/Shared/Discover/Library/UI/Protocols/DSCActionProducer.h Which fixed a retention cycle inside Discover In order to fix this crash the annotation is removed and the provider will own the ViewController (as it should be the case since we don't have the NS_RETURNS_RETAINED annotation anymore, which means the caller shouldn't be in charge of owning the object) Downstream CL:3381210 Bug: 1145136, 1145136, 1145153 Change-Id: I3dbd0f576ab9c290c8d636a0a086876ff9ba340a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518937 Commit-Queue: Sergio Collazos <sczs@chromium.org> Reviewed-by:Jérôme Lebel <jlebel@chromium.org> Cr-Commit-Position: refs/heads/master@{#824420}
Showing
Please register or sign in to comment