aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAtlas.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-28 14:17:03 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-28 14:17:03 +0000
commit515dcd36032997ce335daa0163c6d67e851bcad1 (patch)
treea2f8bf979ed20e575e763d94ddea4cf7e89ce18c /src/gpu/GrAtlas.cpp
parent4d213ab944d96ad60a243ac1ad21c793c1acc80a (diff)
Replace uses of GR_DEBUG by SK_DEBUG.
BUG=None R=bsalomon@google.com, robertphillips@google.com Author: tfarina@chromium.org Review URL: https://chromiumcodereview.appspot.com/23137022 git-svn-id: http://skia.googlecode.com/svn/trunk@10978 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrAtlas.cpp')
-rw-r--r--src/gpu/GrAtlas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp
index 9776326f95..865478bf06 100644
--- a/src/gpu/GrAtlas.cpp
+++ b/src/gpu/GrAtlas.cpp
@@ -40,7 +40,7 @@
#define BORDER 1
-#if GR_DEBUG
+#ifdef SK_DEBUG
static int gCounter;
#endif
@@ -63,7 +63,7 @@ GrAtlas::GrAtlas(GrAtlasMgr* mgr, int plotX, int plotY, GrMaskFormat format) :
fMaskFormat = format;
-#if GR_DEBUG
+#ifdef SK_DEBUG
// GrPrintf(" GrAtlas %p [%d %d] %d\n", this, plotX, plotY, gCounter);
gCounter += 1;
#endif
@@ -74,7 +74,7 @@ GrAtlas::~GrAtlas() {
delete fRects;
-#if GR_DEBUG
+#ifdef SK_DEBUG
--gCounter;
// GrPrintf("~GrAtlas %p [%d %d] %d\n", this, fPlot.fX, fPlot.fY, gCounter);
#endif