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

Unified Diff: chrome/browser/ui/views/toolbar/browser_action_test_util_views.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: chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
diff --git a/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc b/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
index 78e6cfe890433d729575288cfa9cbfab7708f9e8..d0d8916d0581c6942f8821a1e3d9a3e4051a2726 100644
--- a/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
+++ b/chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc
@@ -200,8 +200,8 @@ ToolbarActionsBar* BrowserActionTestUtil::GetToolbarActionsBar() {
std::unique_ptr<BrowserActionTestUtil>
BrowserActionTestUtil::CreateOverflowBar() {
- CHECK(!GetToolbarActionsBar()->in_overflow_mode())
- << "Only a main bar can create an overflow bar!";
+ // Only a main bar can create an overflow bar!
+ CHECK(!GetToolbarActionsBar()->in_overflow_mode());
return base::WrapUnique(new BrowserActionTestUtil(browser_, this));
}

Powered by Google App Engine
This is Rietveld 408576698