Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index ab4de039fbb37aa36a86b4f0a9593f44a70d0b7e..6ea67f8035692f75edc2f27763130bcf84a73ad9 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -18,7 +18,7 @@ |
#include "GrContext.h" |
#endif |
-SkPictureShader::SkPictureShader(SkPicture* picture, TileMode tmx, TileMode tmy, |
+SkPictureShader::SkPictureShader(const SkPicture* picture, TileMode tmx, TileMode tmy, |
const SkMatrix* localMatrix) |
: INHERITED(localMatrix) |
, fPicture(SkRef(picture)) |
@@ -36,7 +36,7 @@ SkPictureShader::~SkPictureShader() { |
fPicture->unref(); |
} |
-SkPictureShader* SkPictureShader::Create(SkPicture* picture, TileMode tmx, TileMode tmy, |
+SkPictureShader* SkPictureShader::Create(const SkPicture* picture, TileMode tmx, TileMode tmy, |
const SkMatrix* localMatrix) { |
if (!picture || 0 == picture->width() || 0 == picture->height()) { |
return NULL; |