Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index 4b0adeb8140a54b91e5820d979279b624ba28fc7..4cf35c7da5eb38d0385b32b56261b92fd2a531c9 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -336,6 +336,7 @@ void SkPictureShader::toString(SkString* str) const { |
bool SkPictureShader::asFragmentProcessor(GrContext* context, const SkPaint& paint, |
const SkMatrix& viewM, const SkMatrix* localMatrix, |
GrColor* paintColor, |
+ GrShaderDataManager* shaderDataManager, |
GrFragmentProcessor** fp) const { |
int maxTextureSize = 0; |
if (context) { |
@@ -345,11 +346,12 @@ bool SkPictureShader::asFragmentProcessor(GrContext* context, const SkPaint& pai |
if (!bitmapShader) { |
return false; |
} |
- return bitmapShader->asFragmentProcessor(context, paint, viewM, NULL, paintColor, fp); |
+ return bitmapShader->asFragmentProcessor(context, paint, viewM, NULL, paintColor, |
+ shaderDataManager, fp); |
} |
#else |
bool SkPictureShader::asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix&, |
- const SkMatrix*, GrColor*, |
+ const SkMatrix*, GrColor*, GrShaderDataManager*, |
GrFragmentProcessor**) const { |
SkDEBUGFAIL("Should not call in GPU-less build"); |
return false; |