Index: samplecode/SampleFatBits.cpp |
diff --git a/samplecode/SampleFatBits.cpp b/samplecode/SampleFatBits.cpp |
index cf441cd45cb5eee8c7d86e10cd0d21631e5c774a..c6fc67f3cc263ade06d8d9b42f55c0cf66832e93 100644 |
--- a/samplecode/SampleFatBits.cpp |
+++ b/samplecode/SampleFatBits.cpp |
@@ -106,8 +106,8 @@ public: |
fInverse.setScale(SK_Scalar1 / zoom, SK_Scalar1 / zoom); |
fShader->setLocalMatrix(fMatrix); |
- SkImage::Info info = { |
- width, height, SkImage::kPMColor_ColorType, SkImage::kPremul_AlphaType |
+ SkImageInfo info = { |
+ width, height, kPMColor_SkColorType, kPremul_SkAlphaType |
}; |
fMinSurface.reset(SkSurface::NewRaster(info)); |
info.fWidth *= zoom; |