Commit 79cee575 authored by Evan Stade's avatar Evan Stade Committed by Chromium LUCI CQ

Second try at fixing location icon view issue on Linux.

Bug: 1161143
Change-Id: I52317cbd7b760218036a3cb99a9e53f6e5ed1e97
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2603120
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: default avatarJustin Donnelly <jdonnelly@chromium.org>
Cr-Commit-Position: refs/heads/master@{#840268}
parent ecae40df
...@@ -76,9 +76,10 @@ bool LocationIconView::IsBubbleShowing() const { ...@@ -76,9 +76,10 @@ bool LocationIconView::IsBubbleShowing() const {
} }
bool LocationIconView::OnMousePressed(const ui::MouseEvent& event) { bool LocationIconView::OnMousePressed(const ui::MouseEvent& event) {
delegate_->OnLocationIconPressed(event);
IconLabelBubbleView::OnMousePressed(event); IconLabelBubbleView::OnMousePressed(event);
delegate_->OnLocationIconPressed(event);
// Since OnLocationIconPressed() runs a nested message loop on Linux, |this|
// may be deleted by now.
return true; return true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment