| Index: include/effects/SkPictureImageFilter.h
|
| diff --git a/include/effects/SkPictureImageFilter.h b/include/effects/SkPictureImageFilter.h
|
| index 7826eb84975ee311209f53d7a39e2260abeeea1a..fbd04f097a97624f017b8d8762e4cd099228edbd 100644
|
| --- a/include/effects/SkPictureImageFilter.h
|
| +++ b/include/effects/SkPictureImageFilter.h
|
| @@ -16,23 +16,23 @@ public:
|
| /**
|
| * Refs the passed-in picture.
|
| */
|
| - static SkPictureImageFilter* Create(const SkPicture* picture) {
|
| - return SkNEW_ARGS(SkPictureImageFilter, (picture));
|
| + static SkPictureImageFilter* Create(const SkPicture* picture, int32_t uniqueID = 0) {
|
| + return SkNEW_ARGS(SkPictureImageFilter, (picture, uniqueID));
|
| }
|
|
|
| /**
|
| * Refs the passed-in picture. cropRect can be used to crop or expand the destination rect when
|
| * the picture is drawn. (No scaling is implied by the dest rect; only the CTM is applied.)
|
| */
|
| - static SkPictureImageFilter* Create(const SkPicture* picture, const SkRect& cropRect) {
|
| - return SkNEW_ARGS(SkPictureImageFilter, (picture, cropRect));
|
| + static SkPictureImageFilter* Create(const SkPicture* picture, const SkRect& cropRect, uint32_t uniqueID = 0) {
|
| + return SkNEW_ARGS(SkPictureImageFilter, (picture, cropRect, uniqueID));
|
| }
|
|
|
| SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPictureImageFilter)
|
|
|
| protected:
|
| - explicit SkPictureImageFilter(const SkPicture* picture);
|
| - SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect);
|
| + explicit SkPictureImageFilter(const SkPicture* picture, uint32_t uniqueID);
|
| + SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, uint32_t uniqueID);
|
| virtual ~SkPictureImageFilter();
|
| /* Constructs an SkPictureImageFilter object from an SkReadBuffer.
|
| * Note: If the SkPictureImageFilter object construction requires bitmap
|
|
|