• jif's avatar
    Fix crash occurring during infobar dismissal at BVC deletion. · 69593286
    jif authored
    Calling the InfoBarContainerIOS destructor leads to the removal of infobars via
    |InfoBarContainerIOS::PlatformSpecificRemoveInfoBar|, which leads to the BVC
    wanting to change the InfoBarContainerIOS's height (in |infoBarContainerStateChanged|)
    This leads to a crash because the InfoBarContainerIOS is in the process of
    being deleted.
    
    This CL makes the flow abort early.
    
    BUG=448093
    
    Review URL: https://codereview.chromium.org/1038903003
    
    Cr-Commit-Position: refs/heads/master@{#322432}
    69593286
infobar_container_ios.mm 2.69 KB