Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1631)

Unified Diff: ash/common/system/tray/tray_details_view.cc

Issue 2443443002: Fix opt-in IME menu crash. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_details_view.cc
diff --git a/ash/common/system/tray/tray_details_view.cc b/ash/common/system/tray/tray_details_view.cc
index 53235a675fe1f759d21c7e71081356c50d101761..35d58cdf2c722d78da1fa4631f843384c0fdb30c 100644
--- a/ash/common/system/tray/tray_details_view.cc
+++ b/ash/common/system/tray/tray_details_view.cc
@@ -75,7 +75,7 @@ TrayDetailsView::TrayDetailsView(SystemTrayItem* owner)
TrayDetailsView::~TrayDetailsView() {}
void TrayDetailsView::OnViewClicked(views::View* sender) {
- if (!MaterialDesignController::IsSystemTrayMenuMaterial() &&
+ if (!MaterialDesignController::IsSystemTrayMenuMaterial() && title_row_ &&
sender == title_row_->content()) {
TransitionToDefaultView();
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698