Changed maxInputCount for exact inputCount

Processing still had issue when the number of inputs was 0, so I changed my previous fix from a maximum input count to an exact input count. -1 is used when the input count isn't fixed (but still has to be a non-negative number).



Review URL:

git-svn-id: 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/core/SkImageFilter.h b/core/SkImageFilter.h
index 1e9f72e..4c372a4 100644
--- a/core/SkImageFilter.h
+++ b/core/SkImageFilter.h
@@ -156,7 +156,14 @@
     virtual ~SkImageFilter();
-    explicit SkImageFilter(int maxInputCount, SkFlattenableReadBuffer& rb);
+    /**
+     *  Constructs a new SkImageFilter read from an SkFlattenableReadBuffer object.
+     *
+     *  @param inputCount    The exact number of inputs expected for this SkImageFilter object.
+     *                       -1 can be used if the filter accepts any number of inputs.
+     *  @param rb            SkFlattenableReadBuffer object from which the SkImageFilter is read.
+     */
+    explicit SkImageFilter(int inputCount, SkFlattenableReadBuffer& rb);
     virtual void flatten(SkFlattenableWriteBuffer& wb) const SK_OVERRIDE;