Index: src/gpu/gl/GrGLUniformManager.h |
diff --git a/src/gpu/gl/GrGLUniformManager.h b/src/gpu/gl/GrGLUniformManager.h |
index d7438f9ed7920a662adcfc992c51779aa9de476c..6137bcd9cc88806769b63cf1139feab103707d07 100644 |
--- a/src/gpu/gl/GrGLUniformManager.h |
+++ b/src/gpu/gl/GrGLUniformManager.h |
@@ -19,7 +19,7 @@ class SkMatrix; |
/** Manages a program's uniforms. |
*/ |
-class GrGLUniformManager { |
+class GrGLUniformManager : public SkRefCnt { |
public: |
// Opaque handle to a uniform |
class UniformHandle { |
@@ -113,6 +113,8 @@ private: |
bool fUsingBindUniform; |
SkTArray<Uniform, true> fUniforms; |
GrGpuGL* fGpu; |
+ |
+ typedef SkRefCnt INHERITED; |
}; |
#endif |