Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index ce35ba2baad130eebb0a09ba1ef91a35c1997d18..261640f3e9da9dddca7d6c2c736456c5e0798de0 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -343,7 +343,7 @@ bool SkAlphaThresholdFilterImpl::onFilterImage(Proxy*, const SkBitmap& src, |
return false; |
} |
- if (!dst->allocPixels(src.info())) { |
+ if (!dst->tryAllocPixels(src.info())) { |
return false; |
} |