| Index: tests/DeferredCanvasTest.cpp
|
| diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp
|
| index 537a810aa9175ef478053ef700303bca5f029805..a9679a339d02a9498d8807468037dc2c4591da40 100644
|
| --- a/tests/DeferredCanvasTest.cpp
|
| +++ b/tests/DeferredCanvasTest.cpp
|
| @@ -57,7 +57,7 @@ public:
|
| return SkNEW_ARGS(SkCanvas, (fBitmap));
|
| }
|
|
|
| - virtual SkSurface* onNewSurface(const SkImage::Info&) SK_OVERRIDE {
|
| + virtual SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE {
|
| return NULL;
|
| }
|
|
|
| @@ -692,10 +692,10 @@ static PixelPtr getSurfacePixelPtr(SkSurface* surface, bool useGpu) {
|
| }
|
|
|
| static void TestDeferredCanvasSurface(skiatest::Reporter* reporter, GrContextFactory* factory) {
|
| - SkImage::Info imageSpec = {
|
| + SkImageInfo imageSpec = {
|
| 10, // width
|
| 10, // height
|
| - SkImage::kPMColor_ColorType,
|
| + kPMColor_SkColorType,
|
| kPremul_SkAlphaType
|
| };
|
| SkSurface* surface;
|
| @@ -759,10 +759,10 @@ static void TestDeferredCanvasSurface(skiatest::Reporter* reporter, GrContextFac
|
| }
|
|
|
| static void TestDeferredCanvasSetSurface(skiatest::Reporter* reporter, GrContextFactory* factory) {
|
| - SkImage::Info imageSpec = {
|
| + SkImageInfo imageSpec = {
|
| 10, // width
|
| 10, // height
|
| - SkImage::kPMColor_ColorType,
|
| + kPMColor_SkColorType,
|
| kPremul_SkAlphaType
|
| };
|
| SkSurface* surface;
|
|
|