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

Unified Diff: cc/trees/layer_tree_host_common_perftest.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: cc/trees/layer_tree_host_common_perftest.cc
diff --git a/cc/trees/layer_tree_host_common_perftest.cc b/cc/trees/layer_tree_host_common_perftest.cc
index 23f7c4fbcb23666576612ca37af85b7471b3a72a..82b9bde3603ce6de29cca6599d728046f4a40850 100644
--- a/cc/trees/layer_tree_host_common_perftest.cc
+++ b/cc/trees/layer_tree_host_common_perftest.cc
@@ -59,7 +59,8 @@ class LayerTreeHostCommonPerfTest : public LayerTreeTest {
void SetTestName(const std::string& name) { test_name_ = name; }
void AfterTest() override {
- CHECK(!test_name_.empty()) << "Must SetTestName() before TearDown().";
+ // Must SetTestName() before TearDown().
+ CHECK(!test_name_.empty());
perf_test::PrintResult("calc_draw_props_time",
"",
test_name_,

Powered by Google App Engine
This is Rietveld 408576698