Index: tests/ImageDecodingTest.cpp |
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp |
index 8838e755662eeade7a713cd2390b74aaa3a0711b..4d261673703d8b03957cf3f4593fb33e8e6c9119 100644 |
--- a/tests/ImageDecodingTest.cpp |
+++ b/tests/ImageDecodingTest.cpp |
@@ -770,7 +770,7 @@ public: |
fSize = 0; |
return true; |
} |
- return bm->allocPixels(NULL, ct); |
+ return bm->tryAllocPixels(NULL, ct); |
} |
bool ready() { return fPixels != NULL; } |
private: |