Index: tests/RecordDrawTest.cpp |
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp |
index 30be24c28acbc567dc4ad6691ff9001e6c46a371..2d9e90d48b4a4d5927bef87aa4a276c6fea13c96 100644 |
--- a/tests/RecordDrawTest.cpp |
+++ b/tests/RecordDrawTest.cpp |
@@ -286,7 +286,7 @@ DEF_TEST(RecordDraw_drawImage, r){ |
bool fDrawImageRectCalled; |
}; |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterPMColor(10, 10)); |
+ SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(10, 10)); |
surface->getCanvas()->clear(SK_ColorGREEN); |
SkAutoTUnref<SkImage> image(surface->newImageSnapshot()); |