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:
parent
a45e6d2d79
commit
78cff136a4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user