diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-13 18:54:08 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-13 18:54:08 +0000 |
commit | 4d73ac22a1b99402fc8cff78a4eb4b27aa8fe019 (patch) | |
tree | e12e9be96cdc105dfc275ee9ada6982d81d3e4fb /gm | |
parent | 972265db219ce25b5159879c75e6c62efaf0fa79 (diff) |
Version 2 of the Instance Counting system. This one simplifies the print out of information.
http://codereview.appspot.com/6296069/
git-svn-id: http://skia.googlecode.com/svn/trunk@4255 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-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; } |