Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Merge to M110] Tooltip: Set parent_window_ null on hiding tooltip
This CL resets `parent_window_` in TooltipLacros on Hide(). This aims to fix the crash on GetHost. Without this CL, `parent_window_` stays non-null when the window is destructed, so we sets it null on Hide() which is called when the window is destroyed via TooltipController::OnWindowDestroyed(). (cherry picked from commit 6af0784) Bug: 1404163 Change-Id: I14c2a0d238b3d88f35d03664e6ac11a8ee28b7b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4150449 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Eriko Kurimoto <elkurin@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1091022} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4159631 Auto-Submit: Eriko Kurimoto <elkurin@chromium.org> Cr-Commit-Position: refs/branch-heads/5481@{#257} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information