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