[M145] Fix crash on TabModel.GetBrowserWindowInterface Original change's description: > Fix crash on TabModel.GetBrowserWindowInterface > > Fix a CHECK failure on dev build where > TabModel::GetBrowserWindowInterface() is called after a tab is detached > from a browser window and before attach to another browser window. > Instead of crashing the browser TabModel::GetBrowserWindowInterface() > should return nullptr in this case. > > Bug: 475155069 > Change-Id: I5d0329bfd0c3e025cbe5dc43610fae40880d76da > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7458200 > Reviewed-by: David Pennington <dpenning@chromium.org> > Commit-Queue: Yuheng Huang <yuhengh@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1568448} (cherry picked from commit eca4e1d660be014516f65297bebc2c657dd8b944) Bug: 476126281,475155069 Change-Id: I5d0329bfd0c3e025cbe5dc43610fae40880d76da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7487011 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Yuheng Huang <yuhengh@chromium.org> Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/7632@{#155} Cr-Branched-From: 0bbdf2913883391365383b0a5dfe7bf9fd1a5213-refs/heads/main@{#1568190}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.