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

Unified Diff: cc/output/bsp_tree_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/output/bsp_tree_perftest.cc
diff --git a/cc/output/bsp_tree_perftest.cc b/cc/output/bsp_tree_perftest.cc
index 2413058e25f918f77b4a5bce073684078c5dd45f..ea078263066de8837b307103132e539c6f964466 100644
--- a/cc/output/bsp_tree_perftest.cc
+++ b/cc/output/bsp_tree_perftest.cc
@@ -135,7 +135,8 @@ class BspTreePerfTest : public LayerTreeTest {
}
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_,
1000 * timer_.MsPerLap(), "us", true);
}

Powered by Google App Engine
This is Rietveld 408576698