[ios] Null OverlayRequestCoordinator's delegate when Browser destroyed
If the Browser is destroyed, then OverlayPresentationContextImpl will soon be as well. Thus, OverlayRequestCoordinator's reference to it will be invalid, so OverlayPresentationContextImpl should remove itself as the delegate. This change also uses __weak references to self InfobarBannerOverlayCoordaintor. Bug: 1129962, 1129788 Change-Id: I082ad3f7acf671b61e23434f918d22d900d5227f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427407Reviewed-by:Sergio Collazos <sczs@chromium.org> Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Auto-Submit: Chris Lu <thegreenfrog@chromium.org> Cr-Commit-Position: refs/heads/master@{#810916}
Showing
Please register or sign in to comment