Index: src/effects/gradients/SkTwoPointConicalGradient.cpp |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
index 94751a89c63a30c3cf8373ecc2af307557075879..8630d205a88415197c2305c9b821c606ddf06bc6 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.cpp |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp |
@@ -391,6 +391,7 @@ void SkTwoPointConicalGradient::flatten(SkWriteBuffer& buffer) const { |
bool SkTwoPointConicalGradient::asFragmentProcessor(GrContext* context, |
const SkPaint& paint, |
+ const SkMatrix& viewM, |
const SkMatrix* localMatrix, |
GrColor* paintColor, |
GrFragmentProcessor** fp) const { |
@@ -404,7 +405,8 @@ bool SkTwoPointConicalGradient::asFragmentProcessor(GrContext* context, |
#else |
-bool SkTwoPointConicalGradient::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix*, |
+bool SkTwoPointConicalGradient::asFragmentProcessor(GrContext*, const SkPaint&, |
+ const SkMatrix&, const SkMatrix*, |
GrColor*, GrFragmentProcessor**) const { |
SkDEBUGFAIL("Should not call in GPU-less build"); |
return false; |