diff options
author | 2013-09-06 23:13:05 +0000 | |
---|---|---|
committer | 2013-09-06 23:13:05 +0000 | |
commit | 1acc3d7cc28c5631b5300578ab13439bdefd4e33 (patch) | |
tree | e9809f7e8b889b84c6e0e2e221fccaf7436b65cb /include/gpu/GrBackendEffectFactory.h | |
parent | b57a30d8f5459b30d8d671c62fb8022050d862e1 (diff) |
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
Diffstat (limited to 'include/gpu/GrBackendEffectFactory.h')
-rw-r--r-- | include/gpu/GrBackendEffectFactory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrBackendEffectFactory.h b/include/gpu/GrBackendEffectFactory.h index 6a18169de0..3a39dc0df6 100644 --- a/include/gpu/GrBackendEffectFactory.h +++ b/include/gpu/GrBackendEffectFactory.h @@ -67,7 +67,7 @@ protected: virtual ~GrBackendEffectFactory() {} static EffectKey GenID() { - GR_DEBUGCODE(static const int32_t kClassIDBits = 8 * sizeof(EffectKey) - + SkDEBUGCODE(static const int32_t kClassIDBits = 8 * sizeof(EffectKey) - kTextureKeyBits - kEffectKeyBits - kAttribKeyBits); // fCurrEffectClassID has been initialized to kIllegalEffectClassID. The // atomic inc returns the old value not the incremented value. So we add |