Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index b637bd6c7add0bf911618177661a8ed0e1c84337..90106fa7e02565c573ad9b1e2fc3e0607e8ad41c 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -200,7 +200,7 @@ bool GrClipMaskManager::setupClipping(const GrClipData* clipDataIn, |
SkVector offset = { SkIntToScalar(-clipDataIn->fOrigin.fX), |
SkIntToScalar(-clipDataIn->fOrigin.fY) }; |
rect.offset(offset); |
- effect.reset(GrConvexPolyEffect::CreateForAAFillRect(rect)); |
+ effect.reset(GrConvexPolyEffect::Create(GrConvexPolyEffect::kFillAA_EdgeType, rect)); |
// This should never fail. |
SkASSERT(effect); |
} |