Don't destroy members if TabGroupUI isn't initialized
There may be cases where TabGroupUI is constructed and then destroyed wihtout calling initWithNative. This is a band-aid fix to address that and not attempt to destroy members that are not assigned yet. (The members are not individually checked to make the CL shorter, as we may need to cherry-pick) BUG=966769 Change-Id: I991c99c65d024e4115e327f6252810409e512951 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636456Reviewed-by:Pedro Amaral <amaralp@chromium.org> Commit-Queue: Yusuf Ozuysal <yusufo@chromium.org> Cr-Commit-Position: refs/heads/master@{#664587}
Showing
Please register or sign in to comment