Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Unified Diff: src/gpu/gl/GrGLProgramDataManager.h

Issue 1195573002: Make GrGLProgramDataManager not refcounted (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address review comment! Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLProgramDataManager.h
diff --git a/src/gpu/gl/GrGLProgramDataManager.h b/src/gpu/gl/GrGLProgramDataManager.h
index f1543135165ec19162f28cb3e7b555efc1bd5908..21ee9b5931d8c435087bc31f31ddb638cc8af47d 100644
--- a/src/gpu/gl/GrGLProgramDataManager.h
+++ b/src/gpu/gl/GrGLProgramDataManager.h
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698