| Index: src/effects/SkBlurImageFilter.cpp
|
| diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp
|
| index d08209874bdad74be11d035fd8f2ac9cf976725d..8590400003eba2ffb8aae2eb255abcc00e207f0a 100644
|
| --- a/src/effects/SkBlurImageFilter.cpp
|
| +++ b/src/effects/SkBlurImageFilter.cpp
|
| @@ -172,7 +172,7 @@ bool SkBlurImageFilter::onFilterImage(Proxy* proxy,
|
| return false;
|
| }
|
|
|
| - if (!dst->allocPixels(src.info().makeWH(srcBounds.width(), srcBounds.height()))) {
|
| + if (!dst->tryAllocPixels(src.info().makeWH(srcBounds.width(), srcBounds.height()))) {
|
| return false;
|
| }
|
| dst->getBounds(&dstBounds);
|
| @@ -199,7 +199,7 @@ bool SkBlurImageFilter::onFilterImage(Proxy* proxy,
|
| }
|
|
|
| SkBitmap temp;
|
| - if (!temp.allocPixels(dst->info())) {
|
| + if (!temp.tryAllocPixels(dst->info())) {
|
| return false;
|
| }
|
|
|
|
|