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

Unified Diff: src/gpu/GrDrawTarget.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 | « src/gpu/GrDrawState.h ('k') | src/gpu/GrGpu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawTarget.h
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index d242797db99eed7ce88edaf8ca7c9ae71f162760..5b1954609cf2fdcce13c41e05fd1493ddaf3e7e1 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -1,4 +1,3 @@
-
/*
* Copyright 2010 Google Inc.
*
@@ -6,20 +5,18 @@
* found in the LICENSE file.
*/
-
#ifndef GrDrawTarget_DEFINED
#define GrDrawTarget_DEFINED
#include "GrClipData.h"
#include "GrDrawState.h"
#include "GrIndexBuffer.h"
-#include "SkMatrix.h"
-#include "GrRefCnt.h"
#include "SkClipStack.h"
+#include "SkMatrix.h"
#include "SkPath.h"
-#include "SkTLazy.h"
#include "SkTArray.h"
+#include "SkTLazy.h"
#include "SkXfermode.h"
class GrClipData;
@@ -28,7 +25,7 @@ class GrPath;
class GrVertexBuffer;
class SkStrokeRec;
-class GrDrawTarget : public GrRefCnt {
+class GrDrawTarget : public SkRefCnt {
protected:
class DrawInfo;
@@ -869,7 +866,7 @@ private:
// The context owns us, not vice-versa, so this ptr is not ref'ed by DrawTarget.
GrContext* fContext;
- typedef GrRefCnt INHERITED;
+ typedef SkRefCnt INHERITED;
};
#endif
« no previous file with comments | « src/gpu/GrDrawState.h ('k') | src/gpu/GrGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698