diff options
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r-- | gm/gmmain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index e91ea8f549..877d0afa56 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -1086,9 +1086,9 @@ int main(int argc, char * const argv[]) { delete grFactory; SkGraphics::Term(); - PRINT_INST_COUNT(SkRefCnt); - PRINT_INST_COUNT(GrResource); - PRINT_INST_COUNT(GrAARectRenderer); +#ifdef SK_DEBUG + SkRefCnt::CheckInstanceCount(); +#endif return (0 == testsFailed) ? 0 : -1; } |