Only instance-count in SK_DEVELOPER builds (our debug builds, not Chrome's)

BUG=skia:

Review URL: https://codereview.chromium.org/910973003
This commit is contained in:
mtklein 2015-02-10 06:14:05 -08:00 committed by Commit bot
parent ffd008e5ae
commit 1b9c8bb0a1

View File

@ -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