Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index 4008fe23d347707e26392b2a7ef88ed952ad6941..f7c6e7f6b123e977d9e710b1d5345c19928cfc80 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -506,9 +506,7 @@ class QuadEdgeEffect : public GrGeometryProcessor { |
public: |
static GrGeometryProcessor* Create() { |
- GR_CREATE_STATIC_PROCESSOR(gQuadEdgeEffect, QuadEdgeEffect, ()); |
- gQuadEdgeEffect->ref(); |
- return gQuadEdgeEffect; |
+ return SkNEW(QuadEdgeEffect); |
} |
virtual ~QuadEdgeEffect() {} |