[Start] Remove an unnecessary null check of TabModelSelector.
The crash is caused by LayoutManagerChrome#showOverview() is called before the LayoutManagerChrome is initialized. More specifically, the TabModelSelector hasn't been set to the LayoutManagerChrome. However, the null check doesn't seem necessary when LayoutManagerImpl#startShowing() is called. Thus we remove this check to avoid crash on the debug build. Bug: 1164884 Change-Id: If5dc74ce39bed62f6ac0fa07a7578fda18ba6bb5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622326Reviewed-by:Matthew Jones <mdjones@chromium.org> Commit-Queue: Xi Han <hanxi@chromium.org> Cr-Commit-Position: refs/heads/master@{#843029}
Showing
Please register or sign in to comment