Replace uses of GR_DEBUGCODE by SkDEBUGCODE.
BUG=None
TEST=none, no functional changes.
R=bsalomon@google.com, robertphillips@google.com
Author: tfarina@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23703010
git-svn-id: http://skia.googlecode.com/svn/trunk@11142 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index b6555c4..5145b29 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -1536,10 +1536,10 @@
// handle the unpremul step on the CPU if we couldn't create an effect to do it.
if (NULL == effect) {
SkCanvas::Config8888 srcConfig8888, dstConfig8888;
- GR_DEBUGCODE(bool success = )
+ SkDEBUGCODE(bool success = )
grconfig_to_config8888(srcConfig, true, &srcConfig8888);
SkASSERT(success);
- GR_DEBUGCODE(success = )
+ SkDEBUGCODE(success = )
grconfig_to_config8888(srcConfig, false, &dstConfig8888);
SkASSERT(success);
const uint32_t* src = reinterpret_cast<const uint32_t*>(buffer);