Index: src/gpu/GrAddPathRenderers_default.cpp |
diff --git a/src/gpu/GrAddPathRenderers_default.cpp b/src/gpu/GrAddPathRenderers_default.cpp |
index 4b2caec5c6117fdbd3f5f0868fc151fe08d43f8f..77a26d317183bcc468b88bfdb71140b1c4015064 100644 |
--- a/src/gpu/GrAddPathRenderers_default.cpp |
+++ b/src/gpu/GrAddPathRenderers_default.cpp |
@@ -17,10 +17,6 @@ |
#include "GrGpu.h" |
#include "GrTessellatingPathRenderer.h" |
-#ifndef GR_TESSELLATING_PATH_RENDERING |
-#define GR_TESSELLATING_PATH_RENDERING 1 |
-#endif |
- |
void GrPathRenderer::AddPathRenderers(GrContext* ctx, GrPathRendererChain* chain) { |
chain->addPathRenderer(SkNEW(GrDashLinePathRenderer))->unref(); |
@@ -28,9 +24,7 @@ void GrPathRenderer::AddPathRenderers(GrContext* ctx, GrPathRendererChain* chain |
*ctx->caps())) { |
chain->addPathRenderer(pr)->unref(); |
} |
-#if GR_TESSELLATING_PATH_RENDERING |
- chain->addPathRenderer(new GrTessellatingPathRenderer)->unref(); |
-#endif |
+ chain->addPathRenderer(SkNEW(GrTessellatingPathRenderer))->unref(); |
if (GrPathRenderer* pr = GrAAHairLinePathRenderer::Create()) { |
chain->addPathRenderer(pr)->unref(); |
} |