Index: src/gpu/gl/GrGLProgramEffects.h |
diff --git a/src/gpu/gl/GrGLProgramEffects.h b/src/gpu/gl/GrGLProgramEffects.h |
index 0f38cdbe6414dabf85778af4601cf54c6ae383eb..48d01c8ad7c34a0a3ada6e149bda80d7b8d665fc 100644 |
--- a/src/gpu/gl/GrGLProgramEffects.h |
+++ b/src/gpu/gl/GrGLProgramEffects.h |
@@ -24,7 +24,7 @@ class GrGLFragmentOnlyShaderBuilder; |
* and textures). It is built with GrGLProgramEffectsBuilder, then used to manage the necessary GL |
* state and shader uniforms. |
*/ |
-class GrGLProgramEffects { |
+class GrGLProgramEffects : public SkRefCnt { |
public: |
typedef GrBackendEffectFactory::EffectKey EffectKey; |
typedef GrGLUniformManager::UniformHandle UniformHandle; |
@@ -122,6 +122,9 @@ protected: |
SkTArray<GrGLEffect*> fGLEffects; |
SkTArray<SkSTArray<4, Sampler, true> > fSamplers; |
+ |
+private: |
+ typedef SkRefCnt INHERITED; |
}; |
/** |