| Index: src/core/SkImageFilter.cpp
|
| diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp
|
| index dfe74cb74bd280273464c47abee9b89dbeef3742..6240902e1b268361107691c918748ae6839faa51 100644
|
| --- a/src/core/SkImageFilter.cpp
|
| +++ b/src/core/SkImageFilter.cpp
|
| @@ -32,23 +32,6 @@ SkImageFilter::SkImageFilter(int inputCount, SkImageFilter** inputs, const CropR
|
| }
|
| }
|
|
|
| -SkImageFilter::SkImageFilter(SkImageFilter* input, const CropRect* cropRect)
|
| - : fInputCount(1),
|
| - fInputs(new SkImageFilter*[1]),
|
| - fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) {
|
| - fInputs[0] = input;
|
| - SkSafeRef(fInputs[0]);
|
| -}
|
| -
|
| -SkImageFilter::SkImageFilter(SkImageFilter* input1, SkImageFilter* input2, const CropRect* cropRect)
|
| - : fInputCount(2), fInputs(new SkImageFilter*[2]),
|
| - fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)) {
|
| - fInputs[0] = input1;
|
| - fInputs[1] = input2;
|
| - SkSafeRef(fInputs[0]);
|
| - SkSafeRef(fInputs[1]);
|
| -}
|
| -
|
| SkImageFilter::~SkImageFilter() {
|
| for (int i = 0; i < fInputCount; i++) {
|
| SkSafeUnref(fInputs[i]);
|
|
|