Bug 910754 - As we never build Skia statically, disable Skia's instance counting as it requires being built as a static library. r=snorp
authorGeorge Wright <george@mozilla.com>
Thu, 13 Feb 2014 16:55:43 -0500
changeset 169780 14e857f528b21289b151d8bc4d97b98bd53d0bfe
parent 169779 602341e2f084b7d5c6cc7548ef0ba7c01970676d
child 169781 29fcbc4e91f3d86c3ae02f602026a45cacb5260b
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewerssnorp
bugs910754
milestone30.0a1
Bug 910754 - As we never build Skia statically, disable Skia's instance counting as it requires being built as a static library. r=snorp
gfx/skia/trunk/include/config/SkUserConfig.h
--- a/gfx/skia/trunk/include/config/SkUserConfig.h
+++ b/gfx/skia/trunk/include/config/SkUserConfig.h
@@ -58,17 +58,17 @@
 //#define SK_DEBUG_GLYPH_CACHE
 //#define SK_DEBUG_PATH
 
 /*  To assist debugging, Skia provides an instance counting utility in
     include/core/SkInstCount.h. This flag turns on and off that utility to
     allow instance count tracking in either debug or release builds. By
     default it is enabled in debug but disabled in release.
  */
-//#define SK_ENABLE_INST_COUNT 1
+#define SK_ENABLE_INST_COUNT 0
 
 /*  If, in debugging mode, Skia needs to stop (presumably to invoke a debugger)
     it will call SK_CRASH(). If this is not defined it, it is defined in
     SkPostConfig.h to write to an illegal address
  */
 //#define SK_CRASH() *(int *)(uintptr_t)0 = 0