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

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

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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
Index: ash/common/system/tray/system_tray.cc
diff --git a/ash/common/system/tray/system_tray.cc b/ash/common/system/tray/system_tray.cc
index bf77079841f884a8a62c18b7cdb6fb077657de4d..a4836329fde9524d35942f5dbc20324c1af1208a 100644
--- a/ash/common/system/tray/system_tray.cc
+++ b/ash/common/system/tray/system_tray.cc
@@ -838,7 +838,8 @@ void SystemTray::ActivateAndStartNavigation(const ui::KeyEvent& key_event) {
activating_ = false;
// TODO(oshima): This is to troubleshoot the issue crbug.com/651242. Remove
// once the root cause is fixed.
- CHECK(system_bubble_) << " the bubble was deleted while activaing it";
+ // the bubble was deleted while activaing it
+ CHECK(system_bubble_);
views::Widget* widget = GetSystemBubble()->bubble_view()->GetWidget();
widget->GetFocusManager()->OnKeyEvent(key_event);

Powered by Google App Engine
This is Rietveld 408576698