Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index 574df08294fb5cdbb2d9de0cbdd760e6f252c39b..cbe9e83a96e5d7abbf3c10e76471ac06d9e33019 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -380,11 +380,12 @@ void SkTwoPointConicalGradient::flatten( |
#if SK_SUPPORT_GPU |
-GrEffectRef* SkTwoPointConicalGradient::asNewEffect(GrContext* context, const SkPaint&) const { |
+GrEffectRef* SkTwoPointConicalGradient::asNewEffect(GrContext* context, const SkPaint&, |
+ const SkMatrix* localMatrix) const { |
SkASSERT(NULL != context); |
SkASSERT(fPtsToUnit.isIdentity()); |
- return Gr2PtConicalGradientEffect::Create(context, *this, fTileMode); |
+ return Gr2PtConicalGradientEffect::Create(context, *this, fTileMode, localMatrix); |
} |
#else |