[go: up one dir, main page]

M76 merge [ios] Fix crash when opening a non-supported URL bookmark

This is an obscure crash in which the incognito BVC is destroyed when
opening a non-supported URL bookmark in incognito. (See bug for repro
steps).

This CL ensures that the bubblePresenter is properly released when
the browserState is reset in BVC and thereafter destroyed.

The fix in https://crrev.com/c/1621311 is no longer necessary and is
removed.

TBR=eugenebut@chromium.org
(cherry picked from commit 84f24396fe399ed3eecd0b81b70446399fe2a37f)

Bug: 966372
Change-Id: I37a85a75cf1b7a6b0d6cada4df69938ffad4c8a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1650719
Reviewed-by: Eugene But <eugenebut@chromium.org>
Reviewed-by: edchin <edchin@chromium.org>
Commit-Queue: edchin <edchin@chromium.org>
Auto-Submit: edchin <edchin@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#668217}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1658509
Cr-Commit-Position: refs/branch-heads/3809@{#289}
Cr-Branched-From: d82dec1a818f378c464ba307ddd9c92133eac355-refs/heads/master@{#665002}
1 file changed