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

Unified Diff: ui/base/ime/input_method_factory.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: ui/base/ime/input_method_factory.cc
diff --git a/ui/base/ime/input_method_factory.cc b/ui/base/ime/input_method_factory.cc
index f0ed9e28545ca33cff7a2ca5b6043c73c3fbf9e5..4298e4cf463fa55369d2bdbf2800bfa10f9f5070 100644
--- a/ui/base/ime/input_method_factory.cc
+++ b/ui/base/ime/input_method_factory.cc
@@ -68,10 +68,10 @@ void SetUpInputMethodFactoryForTesting() {
if (g_input_method_set_for_testing)
return;
- CHECK(!g_create_input_method_called)
- << "ui::SetUpInputMethodFactoryForTesting was called after use of "
- << "ui::CreateInputMethod. You must call "
- << "ui::SetUpInputMethodFactoryForTesting earlier.";
+ // ui::SetUpInputMethodFactoryForTesting was called after use of
+ // ui::CreateInputMethod. You must call ui::SetUpInputMethodFactoryForTesting
+ // earlier.
+ CHECK(!g_create_input_method_called);
g_input_method_set_for_testing = true;
}

Powered by Google App Engine
This is Rietveld 408576698