Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index 9655e85bd19e3a553b074a73187efadc5e655886..300a65329be41c719b67bb0b15aa8b0995e4de72 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -192,11 +192,12 @@ void SkPictureShader::toString(SkString* str) const { |
#endif |
#if SK_SUPPORT_GPU |
-GrEffectRef* SkPictureShader::asNewEffect(GrContext* context, const SkPaint& paint) const { |
- SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(context->getMatrix(), NULL)); |
+GrEffectRef* SkPictureShader::asNewEffect(GrContext* context, const SkPaint& paint, |
+ const SkMatrix* localMatrix) const { |
+ SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(context->getMatrix(), localMatrix)); |
if (!bitmapShader) { |
return NULL; |
} |
- return bitmapShader->asNewEffect(context, paint); |
+ return bitmapShader->asNewEffect(context, paint, NULL); |
} |
#endif |