Index: src/effects/SkBicubicImageFilter.cpp |
diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp |
index 96d46aa7ce18a9f47b8052dd8f674998f67a29e3..8b89a343d0505d2ca4e04a21aebd0c5647facf3d 100644 |
--- a/src/effects/SkBicubicImageFilter.cpp |
+++ b/src/effects/SkBicubicImageFilter.cpp |
@@ -108,8 +108,7 @@ bool SkBicubicImageFilter::onFilterImage(Proxy* proxy, |
return false; |
} |
result->setConfig(src.config(), dstIRect.width(), dstIRect.height()); |
- result->allocPixels(); |
- if (!result->getPixels()) { |
+ if (!result->allocPixels()) { |
return false; |
} |