Index: include/gpu/GrTBackendEffectFactory.h |
diff --git a/include/gpu/GrTBackendEffectFactory.h b/include/gpu/GrTBackendEffectFactory.h |
index 87ace756ec4d95527ebc221f69643c8106b27636..1a01e1c274c21badd04ecca10c276bc4fa53a559 100644 |
--- a/include/gpu/GrTBackendEffectFactory.h |
+++ b/include/gpu/GrTBackendEffectFactory.h |
@@ -36,7 +36,7 @@ public: |
EffectKey effectKey = GLEffect::GenKey(drawEffect, caps); |
EffectKey textureKey = GLEffect::GenTextureKey(drawEffect, caps); |
EffectKey attribKey = GLEffect::GenAttribKey(drawEffect); |
-#if GR_DEBUG |
+#ifdef SK_DEBUG |
static const EffectKey kIllegalIDMask = (uint16_t) (~((1U << kEffectKeyBits) - 1)); |
SkASSERT(!(kIllegalIDMask & effectKey)); |