drawBitmap is deprecated

Change-Id: I94908f210fc0638ba9f4bac4e5ba2b68ac3be4d4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/358236
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/gm/copy_to_4444.cpp b/gm/copy_to_4444.cpp
index 9e259de..ff9a73b 100644
--- a/gm/copy_to_4444.cpp
+++ b/gm/copy_to_4444.cpp
@@ -33,11 +33,11 @@
             *errorMsg = "Could not decode the file. Did you forget to set the resourcePath?";
             return DrawResult::kFail;
         }
-        canvas->drawBitmap(bm, 0, 0);
+        canvas->drawImage(bm.asImage(), 0, 0);
 
         // This should dither or we will see artifacts in the background of the image.
         SkAssertResult(ToolUtils::copy_to(&bm4444, kARGB_4444_SkColorType, bm));
-        canvas->drawBitmap(bm4444, SkIntToScalar(bm.width()), 0);
+        canvas->drawImage(bm4444.asImage(), SkIntToScalar(bm.width()), 0);
         return DrawResult::kOk;
     }
 };