diff options
author | 2015-02-10 06:14:05 -0800 | |
---|---|---|
committer | 2015-02-10 06:14:05 -0800 | |
commit | 1b9c8bb0a136a4095752c0e433d8327771fbe49c (patch) | |
tree | 3458ad52581e14f7d7a41e7b2945525561ac2814 /include/core | |
parent | ffd008e5ae2cd3a43eef5d03b49def8274cdc257 (diff) |
Only instance-count in SK_DEVELOPER builds (our debug builds, not Chrome's)
BUG=skia:
Review URL: https://codereview.chromium.org/910973003
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkPostConfig.h | 2 |
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 |