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

Unified Diff: src/gpu/GrPathRendererChain.h

Issue 1416113006: Minor cleanup of clip mask manager (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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/GrDrawingManager.cpp ('k') | src/gpu/GrPathRendererChain.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPathRendererChain.h
diff --git a/src/gpu/GrPathRendererChain.h b/src/gpu/GrPathRendererChain.h
index e0e7d46f0619cabd318c71a96e718fa27dc29ff8..ade30551ae5011a014e1229767a1d87a916ccb75 100644
--- a/src/gpu/GrPathRendererChain.h
+++ b/src/gpu/GrPathRendererChain.h
@@ -10,15 +10,10 @@
#include "GrPathRenderer.h"
-#include "SkRefCnt.h"
+#include "SkTypes.h"
#include "SkTArray.h"
class GrContext;
-class GrPipelineBuilder;
-class GrShaderCaps;
-class GrStrokeInfo;
-class SkMatrix;
-class SkPath;
/**
* Keeps track of an ordered list of path renderers. When a path needs to be
@@ -26,7 +21,7 @@ class SkPath;
* path renderer to the list implement the GrPathRenderer::AddPathRenderers
* function.
*/
-class GrPathRendererChain : public SkRefCnt {
+class GrPathRendererChain : public SkNoncopyable {
public:
GrPathRendererChain(GrContext* context);
@@ -52,21 +47,13 @@ public:
GrPathRenderer::StencilSupport* stencilSupport);
private:
- GrPathRendererChain();
-
// takes a ref and unrefs in destructor
GrPathRenderer* addPathRenderer(GrPathRenderer* pr);
- void init();
-
enum {
kPreAllocCount = 8,
};
- bool fInit;
- GrContext* fOwner;
SkSTArray<kPreAllocCount, GrPathRenderer*, true> fChain;
-
- typedef SkRefCnt INHERITED;
};
#endif
« no previous file with comments | « src/gpu/GrDrawingManager.cpp ('k') | src/gpu/GrPathRendererChain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698