Index: gm/rrects.cpp |
diff --git a/gm/rrects.cpp b/gm/rrects.cpp |
index d92fb5a9126a6b37a09adb195a22ebf4a7610c19..7bc7c199b0a35098a9a82b534bde15f50cf3ff7b 100644 |
--- a/gm/rrects.cpp |
+++ b/gm/rrects.cpp |
@@ -77,7 +77,7 @@ protected: |
return; |
} |
if (kEffect_Type == fType) { |
- numRRects *= GrRRectEffect::kEdgeTypeCnt; |
+ numRRects *= kGrEffectEdgeTypeCnt; |
} |
#endif |
@@ -111,8 +111,7 @@ protected: |
SkRRect rrect = fRRects[rrectIdx]; |
rrect.offset(SkIntToScalar(x), SkIntToScalar(y)); |
- GrRRectEffect::EdgeType edgeType = (GrRRectEffect::EdgeType) |
- (curRRect / kNumRRects); |
+ GrEffectEdgeType edgeType = (GrEffectEdgeType) (curRRect / kNumRRects); |
SkAutoTUnref<GrEffectRef> effect(GrRRectEffect::Create(edgeType, rrect)); |
if (effect) { |
drawState->addCoverageEffect(effect); |