Index: include/gpu/GrOvalRenderer.h |
=================================================================== |
--- include/gpu/GrOvalRenderer.h (revision 9995) |
+++ include/gpu/GrOvalRenderer.h (working copy) |
@@ -27,8 +27,12 @@ |
SK_DECLARE_INST_COUNT(GrOvalRenderer) |
GrOvalRenderer() : fRRectIndexBuffer(NULL) {} |
- ~GrOvalRenderer() {} |
+ ~GrOvalRenderer() { |
+ this->reset(); |
+ } |
+ void reset(); |
+ |
bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA, |
const GrRect& oval, const SkStrokeRec& stroke); |
bool drawSimpleRRect(GrDrawTarget* target, GrContext* context, bool useAA, |