Index: src/effects/SkPictureImageFilter.cpp |
diff --git a/src/effects/SkPictureImageFilter.cpp b/src/effects/SkPictureImageFilter.cpp |
index 2d2df9231eabd84f71ce4b8338a900d02b42920c..d0f4d54308cc514228ee1b108e13eca8d039afe6 100644 |
--- a/src/effects/SkPictureImageFilter.cpp |
+++ b/src/effects/SkPictureImageFilter.cpp |
@@ -12,7 +12,7 @@ |
#include "SkWriteBuffer.h" |
#include "SkValidationUtils.h" |
-SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture) |
+SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture) |
: INHERITED(0, 0), |
fPicture(picture), |
fCropRect(SkRect::MakeWH(picture ? SkIntToScalar(picture->width()) : 0, |
@@ -20,7 +20,7 @@ SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture) |
SkSafeRef(fPicture); |
} |
-SkPictureImageFilter::SkPictureImageFilter(SkPicture* picture, const SkRect& cropRect) |
+SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect) |
: INHERITED(0, 0), |
fPicture(picture), |
fCropRect(cropRect) { |