Index: src/gpu/GrSWMaskHelper.cpp |
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp |
index b7b2d1a7c6326f6a1b2f3cebf2b6f5e703104063..b51bae437036944be13f7b1774fd629e4ec46f80 100644 |
--- a/src/gpu/GrSWMaskHelper.cpp |
+++ b/src/gpu/GrSWMaskHelper.cpp |
@@ -205,7 +205,7 @@ bool GrSWMaskHelper::init(const SkIRect& resultBounds, |
// allocate the pixels for a bitmap |
const SkImageInfo bmImageInfo = SkImageInfo::MakeA8(cmpWidth, cmpHeight); |
if (kBlitter_CompressionMode != fCompressionMode) { |
- if (!fBM.allocPixels(bmImageInfo)) { |
+ if (!fBM.tryAllocPixels(bmImageInfo)) { |
return false; |
} |