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

Unified Diff: include/gpu/GrConfig.h

Issue 695663003: Cleanup: Go with SkDebugf instead of GrPrintf. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months 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
« no previous file with comments | « experimental/AndroidPathRenderer/GrAndroidPathRenderer.cpp ('k') | include/gpu/gl/GrGLConfig.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrConfig.h
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h
index 8e65f51b25f46be7e13b0ff10c0f91d7b6ef3d83..e70c978fc000d8ffdb1d45fa2890c57380bf4180 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)
« no previous file with comments | « experimental/AndroidPathRenderer/GrAndroidPathRenderer.cpp ('k') | include/gpu/gl/GrGLConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698