| Index: src/effects/SkBicubicImageFilter.cpp
|
| diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp
|
| index 26d4b2eda79cfb7af8001de6e880a4d44ad8d878..ceb159ffc748fe1eaa17dbbf5080c16774398e13 100644
|
| --- a/src/effects/SkBicubicImageFilter.cpp
|
| +++ b/src/effects/SkBicubicImageFilter.cpp
|
| @@ -99,6 +99,9 @@ bool SkBicubicImageFilter::onFilterImage(Proxy* proxy,
|
| SkScalarMul(SkIntToScalar(src.height()), fScale.fHeight));
|
| SkIRect dstIRect;
|
| dstRect.roundOut(&dstIRect);
|
| + if (dstIRect.isEmpty()) {
|
| + return false;
|
| + }
|
| result->setConfig(src.config(), dstIRect.width(), dstIRect.height());
|
| result->allocPixels();
|
| if (!result->getPixels()) {
|
|
|