Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index 5d15b4f8e86e98620232d0b0e471489afa7ba379..bb71aa13e917a7f0dd69ba8be0494c723f1eb307 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -254,7 +254,7 @@ bool SkDisplacementMapEffect::onFilterImage(Proxy* proxy, |
return false; |
} |
- if (!dst->allocPixels(color.info().makeWH(bounds.width(), bounds.height()))) { |
+ if (!dst->tryAllocPixels(color.info().makeWH(bounds.width(), bounds.height()))) { |
return false; |
} |