| Index: tests/PremulAlphaRoundTripTest.cpp
|
| ===================================================================
|
| --- tests/PremulAlphaRoundTripTest.cpp (revision 10994)
|
| +++ tests/PremulAlphaRoundTripTest.cpp (working copy)
|
| @@ -41,7 +41,7 @@
|
| };
|
|
|
| void PremulAlphaRoundTripTest(skiatest::Reporter* reporter, GrContextFactory* factory) {
|
| - SkAutoTUnref<SkDevice> device;
|
| + SkAutoTUnref<SkBaseDevice> device;
|
| for (int dtype = 0; dtype < 2; ++dtype) {
|
|
|
| int glCtxTypeCnt = 1;
|
| @@ -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 SkBitmapDevice(SkBitmap::kARGB_8888_Config,
|
| + 256,
|
| + 256,
|
| + false));
|
| } else {
|
| #if SK_SUPPORT_GPU
|
| GrContextFactory::GLContextType type =
|
|
|