Index: src/gpu/effects/GrBezierEffect.h |
diff --git a/src/gpu/effects/GrBezierEffect.h b/src/gpu/effects/GrBezierEffect.h |
index c3b1de538aa24bd925778b69e6ac17ea20d09b4e..d31cd7e4c850ffe066223cc662b336a193dc9553 100644 |
--- a/src/gpu/effects/GrBezierEffect.h |
+++ b/src/gpu/effects/GrBezierEffect.h |
@@ -70,9 +70,9 @@ class GrGLConicEffect; |
class GrConicEffect : public GrEffect { |
public: |
static GrEffectRef* Create(const GrBezierEdgeType edgeType, const GrDrawTargetCaps& caps) { |
- GR_CREATE_STATIC_EFFECT(gConicFillAA, GrConicEffect, (edgeType)); |
- GR_CREATE_STATIC_EFFECT(gConicHairAA, GrConicEffect, (edgeType)); |
- GR_CREATE_STATIC_EFFECT(gConicFillNoAA, GrConicEffect, (edgeType)); |
+ GR_CREATE_STATIC_EFFECT(gConicFillAA, GrConicEffect, (kFillAA_GrBezierEdgeType)); |
+ GR_CREATE_STATIC_EFFECT(gConicHairAA, GrConicEffect, (kHairAA_GrBezierEdgeType)); |
+ GR_CREATE_STATIC_EFFECT(gConicFillNoAA, GrConicEffect, (kFillNoAA_GrBezierEdgeType)); |
if (kFillAA_GrBezierEdgeType == edgeType) { |
if (!caps.shaderDerivativeSupport()) { |
return NULL; |