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

Unified Diff: src/gpu/GrTextStrike.cpp

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 | « src/gpu/GrOvalRenderer.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrTextStrike.cpp
diff --git a/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp
index 19cdf63031c7345deedba71f7eaf3736eb1deaaa..13f6ff70ca2716c8e9039d496908d9ff7393a04c 100644
--- a/src/gpu/GrTextStrike.cpp
+++ b/src/gpu/GrTextStrike.cpp
@@ -50,7 +50,7 @@ GrFontCache::~GrFontCache() {
}
fGpu->unref();
#if FONT_CACHE_STATS
- GrPrintf("Num purges: %d\n", g_PurgeCount);
+ SkDebugf("Num purges: %d\n", g_PurgeCount);
#endif
}
@@ -236,7 +236,7 @@ GrTextStrike::GrTextStrike(GrFontCache* cache, const GrFontDescKey* key) : fPool
fFontCache = cache; // no need to ref, it won't go away before we do
#ifdef SK_DEBUG
-// GrPrintf(" GrTextStrike %p %d\n", this, gCounter);
+// SkDebugf(" GrTextStrike %p %d\n", this, gCounter);
gCounter += 1;
#endif
}
@@ -251,7 +251,7 @@ GrTextStrike::~GrTextStrike() {
#ifdef SK_DEBUG
gCounter -= 1;
-// GrPrintf("~GrTextStrike %p %d\n", this, gCounter);
+// SkDebugf("~GrTextStrike %p %d\n", this, gCounter);
#endif
}
« no previous file with comments | « src/gpu/GrOvalRenderer.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698