Index: gm/image.cpp |
diff --git a/gm/image.cpp b/gm/image.cpp |
index e9378be0e20a7edae475900b7c559316a5b04a71..7ecb604ea604bcc21b127fb44b089e2f9975f7fb 100644 |
--- a/gm/image.cpp |
+++ b/gm/image.cpp |
@@ -178,8 +178,8 @@ protected: |
// since we draw into this directly, we need to start fresh |
sk_bzero(fBuffer, fBufferSize); |
- SkImage::Info info = { |
- W, H, SkImage::kPMColor_ColorType, kPremul_SkAlphaType |
+ SkImageInfo info = { |
+ W, H, kPMColor_SkColorType, kPremul_SkAlphaType |
}; |
SkAutoTUnref<SkSurface> surf0(SkSurface::NewRasterDirect(info, fBuffer, RB)); |
SkAutoTUnref<SkSurface> surf1(SkSurface::NewRaster(info)); |