The two leaks are:
missing unrefs in megalooper GM
missing reset capability in oval renderer
This CL also expands the instance counting system to some recently adding classes (e.g., SkFontStyleSet)
R=bsalomon@google.com, jvanverth@google.com
Author: robertphillips@google.com
Review URL: https://chromiumcodereview.appspot.com/18461007
git-svn-id: http://skia.googlecode.com/svn/trunk@10030 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 39d0db3..d9924bf 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -198,6 +198,7 @@
fDrawBufferIBAllocPool = NULL;
fAARectRenderer->reset();
+ fOvalRenderer->reset();
fTextureCache->purgeAllUnlocked();
fFontCache->freeAll();
@@ -214,6 +215,7 @@
fGpu->purgeResources();
fAARectRenderer->reset();
+ fOvalRenderer->reset();
fTextureCache->purgeAllUnlocked();
fFontCache->freeAll();