Commit be1d327b authored by Steven Bennetts's avatar Steven Bennetts Committed by Commit Bot

Network Tray: Protect from edge case crash

Bug: 806446
Change-Id: Ibb34f1ea9c43315f61cf21a8680123f1d3bc6f21
Reviewed-on: https://chromium-review.googlesource.com/914847
Commit-Queue: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: default avatarJenny Zhang <jennyz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536783}
parent 2a7266e6
...@@ -96,7 +96,8 @@ class NetworkStateListDetailedView::InfoBubble ...@@ -96,7 +96,8 @@ class NetworkStateListDetailedView::InfoBubble
void OnMouseExited(const ui::MouseEvent& event) override { void OnMouseExited(const ui::MouseEvent& event) override {
// Like the user switching bubble/menu, hide the bubble when the mouse // Like the user switching bubble/menu, hide the bubble when the mouse
// exits. // exits.
detailed_view_->ResetInfoBubble(); if (detailed_view_)
detailed_view_->ResetInfoBubble();
} }
// BubbleDialogDelegateView: // BubbleDialogDelegateView:
......
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