Index: tests/SkImageTest.cpp |
diff --git a/tests/SkImageTest.cpp b/tests/SkImageTest.cpp |
index 2f23b3f6619a16d2a261879f2411f3a4c1edeb23..508982cea6128c2f0e0c0d65b1af8d3afadb1926 100644 |
--- a/tests/SkImageTest.cpp |
+++ b/tests/SkImageTest.cpp |
@@ -26,7 +26,8 @@ DEF_TEST(SkImageFromBitmap_extractSubset, reporter) { |
canvas.drawIRect(r, p); |
SkBitmap dstBitmap; |
srcBitmap.extractSubset(&dstBitmap, r); |
- image.reset(SkNewImageFromRasterBitmap(dstBitmap, true, NULL)); |
+ image.reset(SkNewImageFromRasterBitmap(dstBitmap, true, NULL, |
+ kUnlocked_SharedPixelRefMode)); |
} |
SkBitmap tgt; |