Index: tests/SkResourceCacheTest.cpp |
diff --git a/tests/SkResourceCacheTest.cpp b/tests/SkResourceCacheTest.cpp |
index b71c7443e57ad6ad7c26a7f72c8078415a9cd9c4..454f8c20423e106e3be7c5482bf54bef7c54f4d7 100644 |
--- a/tests/SkResourceCacheTest.cpp |
+++ b/tests/SkResourceCacheTest.cpp |
@@ -27,7 +27,7 @@ static bool test_scaled_image_cache_useage() { |
SkAutoTUnref<SkCanvas> canvas( |
SkCanvas::NewRasterN32(kCanvasSize, kCanvasSize)); |
SkBitmap bitmap; |
- SkAssertResult(bitmap.allocN32Pixels(kBitmapSize, kBitmapSize)); |
+ bitmap.allocN32Pixels(kBitmapSize, kBitmapSize); |
bitmap.eraseColor(0xFFFFFFFF); |
SkScalar scale = SkIntToScalar(kScale); |
SkScalar scaledSize = SkIntToScalar(kBitmapSize) * scale; |