Fix crash in BubbleDialogDelegate with null client view Check if GetBubbleFrameView() is null before calling SizeToContents in BubbleDialogDelegate::OnAnchorBoundsChanged. This should fix a crash when a nested message loop causes OnWindowPosChanged to be called before the widget has initialized its non_client_view_. Bug: 395293617 Change-Id: I457fd1362d194ee8ed2e0a6933e8ee03690bd13a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6334852 Commit-Queue: David Bienvenu <davidbienvenu@chromium.org> Reviewed-by: Keren Zhu <kerenzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1429454}
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.