Index: tests/DrawBitmapRectTest.cpp |
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp |
index 71ad2cf733612e4bae54375ab5c5bde7ff9cae47..c1e34a2612e6769d848f03faef77e7a44a92d9c7 100644 |
--- a/tests/DrawBitmapRectTest.cpp |
+++ b/tests/DrawBitmapRectTest.cpp |
@@ -43,7 +43,7 @@ static void test_faulty_pixelref(skiatest::Reporter* reporter) { |
REPORTER_ASSERT(reporter, installSuccess); |
// now our bitmap has a pixelref, but we know it will fail to lock |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterPMColor(200, 200)); |
+ SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(200, 200)); |
SkCanvas* canvas = surface->getCanvas(); |
const SkPaint::FilterLevel levels[] = { |