Make GrGLProgramDataManager not refcounted

Make GrGLProgramDataManager not refcounted, refcounting is not used for
the instances.

Review URL: https://codereview.chromium.org/1195573002
This commit is contained in:
kkinnunen 2015-06-21 22:55:12 -07:00 committed by Commit bot
parent a45e6d2d79
commit 78cff136a4

View File

@ -23,7 +23,7 @@ class GrGLProgramBuilder;
* The resources are objects the program uses to communicate with the
* application code.
*/
class GrGLProgramDataManager : public SkRefCnt {
class GrGLProgramDataManager : SkNoncopyable {
public:
// Opaque handle to a uniform
class ShaderResourceHandle {
@ -111,6 +111,7 @@ private:
SkTArray<Uniform, true> fUniforms;
GrGLGpu* fGpu;
typedef SkRefCnt INHERITED;
typedef SkNoncopyable INHERITED;
};
#endif