diff options
Diffstat (limited to 'tests/DrawBitmapRectTest.cpp')
-rw-r--r-- | tests/DrawBitmapRectTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp index c1e34a2612..71ad2cf733 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::NewRasterN32Premul(200, 200)); + SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterPMColor(200, 200)); SkCanvas* canvas = surface->getCanvas(); const SkPaint::FilterLevel levels[] = { |