aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-02-10 06:14:05 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-10 06:14:05 -0800
commit1b9c8bb0a136a4095752c0e433d8327771fbe49c (patch)
tree3458ad52581e14f7d7a41e7b2945525561ac2814 /include/core
parentffd008e5ae2cd3a43eef5d03b49def8274cdc257 (diff)
Only instance-count in SK_DEVELOPER builds (our debug builds, not Chrome's)
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPostConfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index de63c671bd..330454cbea 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -128,7 +128,7 @@
#ifndef SK_ENABLE_INST_COUNT
// Only enabled for static builds, because instance counting relies on static
// variables in functions defined in header files.
-# if defined(SK_DEBUG) && !defined(SKIA_DLL)
+# if SK_DEVELOPER && !defined(SKIA_DLL)
# define SK_ENABLE_INST_COUNT 1
# else
# define SK_ENABLE_INST_COUNT 0