Separated Inst counting from the SK_DEBUG #define (now SK_ENABLE_INST_COUNT)
http://codereview.appspot.com/6353047/
git-svn-id: http://skia.googlecode.com/svn/trunk@4376 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index ca18e49..b34a442 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -810,6 +810,11 @@
}
int main(int argc, char * const argv[]) {
+
+#ifdef SK_ENABLE_INST_COUNT
+ gPrintInstCount = true;
+#endif
+
SkGraphics::Init();
// we don't need to see this during a run
gSkSuppressFontCachePurgeSpew = true;