Index: src/effects/SkBlurImageFilter.cpp |
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp |
index 7f3f5320797c133f75cc025b9dc0ab81b1f2eb4d..3e60c9bb87ae7c591a500d417bef3aac5199be63 100644 |
--- a/src/effects/SkBlurImageFilter.cpp |
+++ b/src/effects/SkBlurImageFilter.cpp |
@@ -160,8 +160,7 @@ bool SkBlurImageFilter::onFilterImage(Proxy* proxy, |
dst->setConfig(src.config(), srcBounds.width(), srcBounds.height()); |
dst->getBounds(&dstBounds); |
- dst->allocPixels(); |
- if (!dst->getPixels()) { |
+ if (!dst->allocPixels()) { |
return false; |
} |