Index: src/core/SkShader.cpp |
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp |
index 9c2fc2f100f143850376f030d95624b6eaab0dd8..65caf7b0fc4637285628b298e75a2fa668803c7f 100644 |
--- a/src/core/SkShader.cpp |
+++ b/src/core/SkShader.cpp |
@@ -236,7 +236,7 @@ SkShader* SkShader::CreateBitmapShader(const SkBitmap& src, TileMode tmx, TileMo |
return SkCreateBitmapShader(src, tmx, tmy, localMatrix, NULL); |
} |
-SkShader* SkShader::CreatePictureShader(SkPicture* src, TileMode tmx, TileMode tmy, |
+SkShader* SkShader::CreatePictureShader(const SkPicture* src, TileMode tmx, TileMode tmy, |
const SkMatrix* localMatrix, const SkRect* tile) { |
return SkPictureShader::Create(src, tmx, tmy, localMatrix, tile); |
} |