| Index: src/effects/SkMatrixConvolutionImageFilter.cpp
|
| diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| index cef0450f8ba83e66c1880c41cb1c0f34ef696e06..3da27cef26e1b5697d37f094baa5428b44a2ef1c 100644
|
| --- a/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| +++ b/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| @@ -279,6 +279,9 @@ bool SkMatrixConvolutionImageFilter::onFilterImage(Proxy* proxy,
|
|
|
| result->setConfig(src.config(), bounds.width(), bounds.height());
|
| result->allocPixels();
|
| + if (!result->getPixels()) {
|
| + return false;
|
| + }
|
|
|
| SkIRect interior = SkIRect::MakeXYWH(bounds.left() + fTarget.fX,
|
| bounds.top() + fTarget.fY,
|
|
|