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

Unified Diff: ash/common/system/chromeos/bluetooth/tray_bluetooth.cc

Issue 2698833003: Fix the crash on clicking buttons in Bluetooth system menu in debug build. (Closed)
Patch Set: Created 3 years, 10 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/chromeos/bluetooth/tray_bluetooth.cc
diff --git a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
index 80a3cbc0d90f16c0049e4867636536e62a3cd3db..a6a6c5e287a83ede7a2e41aefbffb223d0853f1a 100644
--- a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
+++ b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
@@ -454,8 +454,8 @@ class BluetoothDetailedView : public TrayDetailsView {
WmShell::Get()->system_tray_delegate()->ToggleBluetooth();
else if (sender == settings_)
ShowSettings();
-
- NOTREACHED();
+ else
+ NOTREACHED();
}
void CreateExtraTitleRowButtons() override {
« 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