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

Unified Diff: gpu/perftests/texture_upload_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: gpu/perftests/texture_upload_perftest.cc
diff --git a/gpu/perftests/texture_upload_perftest.cc b/gpu/perftests/texture_upload_perftest.cc
index b562f3f3694302d7f819d04e37b47bb0538889c5..b602c3610f65069d114848392bd80170c7193a05 100644
--- a/gpu/perftests/texture_upload_perftest.cc
+++ b/gpu/perftests/texture_upload_perftest.cc
@@ -68,7 +68,7 @@ SHADER(
// clang-format on
void CheckNoGlError(const std::string& msg) {
- CHECK_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()) << " " << msg;
+ LOG_IF(FATAL, static_cast<GLenum>(GL_NO_ERROR) != glGetError()) << msg;
}
// Utility function to compile a shader from a string.

Powered by Google App Engine
This is Rietveld 408576698