From f1b4382421f24563f1df07942a98a234220e687e Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Thu, 20 Apr 2017 13:43:23 -0400 Subject: Rename SkImage_Generator to SkImage_Lazy This removes a long-standing source of confusion: SkImage_Generator was an image that wrapped an SkImageGenerator (with an SkImageCacherator stuck in the middle). We could choose to rename either one, but SkImageGenerator is public, so take the easy road and rename the private image subclass. Given the existence of SkImage::isLazyGenerated, this name seems appropriate. Bug: skia: Change-Id: I061ece94f48538efb1dc5548010f6ca7d438a69b Reviewed-on: https://skia-review.googlesource.com/13979 Reviewed-by: Matt Sarett Commit-Queue: Brian Osman --- gm/imagemasksubset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm/imagemasksubset.cpp') diff --git a/gm/imagemasksubset.cpp b/gm/imagemasksubset.cpp index 49ff3c5405..cdd85d1449 100644 --- a/gm/imagemasksubset.cpp +++ b/gm/imagemasksubset.cpp @@ -63,7 +63,7 @@ const MakerT makers[] = { return make_mask(surface ? surface : SkSurface::MakeRaster(info)); }, - // SkImage_Generator + // SkImage_Lazy [](SkCanvas*, const SkImageInfo& info) -> sk_sp { return SkImage::MakeFromGenerator(skstd::make_unique(info)); }, -- cgit v1.2.3