Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 70e95f6e775907c27a6b8e23e7f0f0ffd14543f5..9293f7fc2a77830be4d552f5948bcea9f5054a23 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -321,7 +321,7 @@ bool SkMagnifierImageFilter::onFilterImage(Proxy*, const SkBitmap& src, |
return false; |
} |
- if (!dst->allocPixels(src.info())) { |
+ if (!dst->tryAllocPixels(src.info())) { |
return false; |
} |