diff options
author | tfarina <tfarina@chromium.org> | 2014-10-31 07:11:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-31 07:11:12 -0700 |
commit | 38406c82b913350e55fa04af8c1941cd9b4aff52 (patch) | |
tree | 66fa89ab5909905fed08bc5a34093507a94ad5b5 /include/gpu/GrConfig.h | |
parent | 8955b0e52490fa71e405e06ec4649d0955d1d537 (diff) |
Cleanup: Go with SkDebugf instead of GrPrintf.
Since GrPrintf is just defined to SkDebugf, we can go with the later
directly.
BUG=None
TEST=None
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/695663003
Diffstat (limited to 'include/gpu/GrConfig.h')
-rw-r--r-- | include/gpu/GrConfig.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h index 8e65f51b25..e70c978fc0 100644 --- a/include/gpu/GrConfig.h +++ b/include/gpu/GrConfig.h @@ -98,12 +98,6 @@ typedef unsigned __int64 uint64_t; // postconfig section: // -// By now we must have a GR_..._BUILD symbol set to 1, and a decision about -// debug -vs- release -// - -#define GrPrintf SkDebugf - /** * GR_STRING makes a string of X where X is expanded before conversion to a string * if X itself contains macros. @@ -167,7 +161,7 @@ typedef unsigned __int64 uint64_t; #define GR_ALWAYSASSERT(COND) \ do { \ if (!(COND)) { \ - GrPrintf("%s %s failed\n", GR_FILE_AND_LINE_STR, #COND); \ + SkDebugf("%s %s failed\n", GR_FILE_AND_LINE_STR, #COND); \ GR_ALWAYSBREAK; \ } \ } while (false) |