Index: include/effects/SkComposeImageFilter.h |
diff --git a/include/effects/SkComposeImageFilter.h b/include/effects/SkComposeImageFilter.h |
index 32304b964636c6e6a250de96203490d6ea5b8121..068bcab7b86e16b06ebd348c3c88ec675f6130a2 100644 |
--- a/include/effects/SkComposeImageFilter.h |
+++ b/include/effects/SkComposeImageFilter.h |
@@ -15,13 +15,14 @@ public: |
virtual ~SkComposeImageFilter(); |
static SkComposeImageFilter* Create(SkImageFilter* outer, SkImageFilter* inner) { |
- return SkNEW_ARGS(SkComposeImageFilter, (outer, inner)); |
+ SkImageFilter* inputs[2] = { outer, inner }; |
+ return SkNEW_ARGS(SkComposeImageFilter, (inputs)); |
} |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkComposeImageFilter) |
protected: |
- SkComposeImageFilter(SkImageFilter* outer, SkImageFilter* inner) : INHERITED(outer, inner) {} |
+ explicit SkComposeImageFilter(SkImageFilter* inputs[2]) : INHERITED(2, inputs) {} |
explicit SkComposeImageFilter(SkReadBuffer& buffer); |
virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |