diff options
author | Mike Reed <reed@google.com> | 2017-06-18 22:46:15 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-19 03:12:07 +0000 |
commit | ce6b4b004b2842e61cd9f86ebb75d1872044b382 (patch) | |
tree | 97c3db6a9ae358b9968bfd83005750eda201191d /src/core/SkImageFilter.cpp | |
parent | ab51d1b297e6ce19347c6f6cb86808e0495a86ff (diff) |
imagefilters should take const array
Bug: skia:
Change-Id: I6f069c843ab27b41c4d1e87f76130e2ba2daf048
Reviewed-on: https://skia-review.googlesource.com/20211
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkImageFilter.cpp')
-rw-r--r-- | src/core/SkImageFilter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp index 453bcfda98..3c3aa18056 100644 --- a/src/core/SkImageFilter.cpp +++ b/src/core/SkImageFilter.cpp @@ -145,7 +145,7 @@ bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { /////////////////////////////////////////////////////////////////////////////////////////////////// -void SkImageFilter::init(sk_sp<SkImageFilter>* inputs, +void SkImageFilter::init(sk_sp<SkImageFilter> const* inputs, int inputCount, const CropRect* cropRect) { fCropRect = cropRect ? *cropRect : CropRect(SkRect(), 0x0); @@ -160,7 +160,7 @@ void SkImageFilter::init(sk_sp<SkImageFilter>* inputs, } } -SkImageFilter::SkImageFilter(sk_sp<SkImageFilter>* inputs, +SkImageFilter::SkImageFilter(sk_sp<SkImageFilter> const* inputs, int inputCount, const CropRect* cropRect) : fUsesSrcInput(false) |