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

Unified Diff: include/gpu/GrResource.h

Issue 23904003: Remove GrRefCnt.h in favor of SkRefCnt.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rm GrRefCnt.h Created 7 years, 3 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 | « include/gpu/GrRefCnt.h ('k') | include/gpu/gl/GrGLInterface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrResource.h
diff --git a/include/gpu/GrResource.h b/include/gpu/GrResource.h
index c52fa044f26d1edc52ad6b80c4c4397924771c4e..836c21546bbf58cd76c6c5f8d4973ca106602afd 100644
--- a/include/gpu/GrResource.h
+++ b/include/gpu/GrResource.h
@@ -1,4 +1,3 @@
-
/*
* Copyright 2011 Google Inc.
*
@@ -6,12 +5,10 @@
* found in the LICENSE file.
*/
-
#ifndef GrResource_DEFINED
#define GrResource_DEFINED
-#include "GrRefCnt.h"
-
+#include "SkRefCnt.h"
#include "SkTInternalLList.h"
class GrGpu;
@@ -21,7 +18,7 @@ class GrResourceEntry;
/**
* Base class for the GPU resources created by a GrContext.
*/
-class GrResource : public GrRefCnt {
+class GrResource : public SkRefCnt {
public:
SK_DECLARE_INST_COUNT(GrResource)
@@ -111,7 +108,7 @@ private:
};
uint32_t fFlags;
- typedef GrRefCnt INHERITED;
+ typedef SkRefCnt INHERITED;
};
#endif
« no previous file with comments | « include/gpu/GrRefCnt.h ('k') | include/gpu/gl/GrGLInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698