Index: include/effects/SkMergeImageFilter.h |
diff --git a/include/effects/SkMergeImageFilter.h b/include/effects/SkMergeImageFilter.h |
index a9a14a95cd4784f434f97a41154e527fa7d8018b..5e723aa2904402973f748ba2ee924819497dc161 100644 |
--- a/include/effects/SkMergeImageFilter.h |
+++ b/include/effects/SkMergeImageFilter.h |
@@ -18,15 +18,17 @@ public: |
static SkMergeImageFilter* Create(SkImageFilter* first, SkImageFilter* second, |
SkXfermode::Mode mode = SkXfermode::kSrcOver_Mode, |
- const CropRect* cropRect = NULL) { |
+ const CropRect* cropRect = NULL, |
+ uint32_t uniqueID = 0) { |
SkImageFilter* inputs[2] = { first, second }; |
SkXfermode::Mode modes[2] = { mode, mode }; |
- return SkNEW_ARGS(SkMergeImageFilter, (inputs, 2, modes, cropRect)); |
+ return SkNEW_ARGS(SkMergeImageFilter, (inputs, 2, modes, cropRect, uniqueID)); |
} |
static SkMergeImageFilter* Create(SkImageFilter* filters[], int count, |
const SkXfermode::Mode modes[] = NULL, |
- const CropRect* cropRect = NULL) { |
- return SkNEW_ARGS(SkMergeImageFilter, (filters, count, modes, cropRect)); |
+ const CropRect* cropRect = NULL, |
+ uint32_t uniqueID = 0) { |
+ return SkNEW_ARGS(SkMergeImageFilter, (filters, count, modes, cropRect, uniqueID)); |
} |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkMergeImageFilter) |
@@ -34,7 +36,8 @@ public: |
protected: |
SkMergeImageFilter(SkImageFilter* filters[], int count, |
const SkXfermode::Mode modes[], |
- const CropRect* cropRect); |
+ const CropRect* cropRect, |
+ uint32_t uniqueID); |
#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkMergeImageFilter(SkReadBuffer& buffer); |
#endif |