Chromium Code Reviews| Index: tests/PremulAlphaRoundTripTest.cpp |
| =================================================================== |
| --- tests/PremulAlphaRoundTripTest.cpp (revision 10711) |
| +++ tests/PremulAlphaRoundTripTest.cpp (working copy) |
| @@ -52,10 +52,10 @@ |
| #endif |
| for (int glCtxType = 0; glCtxType < glCtxTypeCnt; ++glCtxType) { |
| if (0 == dtype) { |
| - device.reset(new SkDevice(SkBitmap::kARGB_8888_Config, |
| - 256, |
| - 256, |
| - false)); |
| + device.reset(new SkRasterDevice(SkBitmap::kARGB_8888_Config, |
| + 256, |
| + 256, |
| + false)); |
| } else { |
| #if SK_SUPPORT_GPU |
| GrContextFactory::GLContextType type = |