diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkImage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h index 6d3ae42fa4..afcbb89a5b 100644 --- a/include/core/SkImage.h +++ b/include/core/SkImage.h @@ -51,7 +51,6 @@ class GrTexture; */ class SK_API SkImage : public SkRefCnt { public: - typedef SkImageInfo Info; typedef void* ReleaseContext; /** Creates SkImage from SkPixmap and copy of pixels. Since pixels are copied, SkPixmap @@ -83,7 +82,8 @@ public: @param rowBytes size of pixel row or larger @return SkImage sharing pixels, or nullptr */ - static sk_sp<SkImage> MakeRasterData(const Info& info, sk_sp<SkData> pixels, size_t rowBytes); + static sk_sp<SkImage> MakeRasterData(const SkImageInfo& info, sk_sp<SkData> pixels, + size_t rowBytes); typedef void (*RasterReleaseProc)(const void* pixels, ReleaseContext); |