Bitmap.asImage()

... and lots and lots of IWYU

Change-Id: Ie5157dcdd2e6d29b95c71b39153278ab48ef4eb3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/346778
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/gm/composeshader.cpp b/gm/composeshader.cpp
index 909b4d2..1303333 100644
--- a/gm/composeshader.cpp
+++ b/gm/composeshader.cpp
@@ -272,8 +272,8 @@
     imageInfo = SkImageInfo::Make(width, height,
             SkColorType::kAlpha_8_SkColorType, kPremul_SkAlphaType);
     skMask.installPixels(imageInfo, dst8Storage.begin(), width, nullptr, nullptr);
-    sk_sp<SkImage> skSrc = SkImage::MakeFromBitmap(skBitmap);
-    sk_sp<SkImage> skMaskImage = SkImage::MakeFromBitmap(skMask);
+    sk_sp<SkImage> skSrc = skBitmap.asImage();
+    sk_sp<SkImage> skMaskImage = skMask.asImage();
     paint.setShader(
         SkShaders::Blend(SkBlendMode::kSrcIn,
                          skMaskImage->makeShader(SkSamplingOptions()),