Index: gm/textblobgeometrychange.cpp |
diff --git a/gm/textblobgeometrychange.cpp b/gm/textblobgeometrychange.cpp |
index 1b7bff319d4bad46595631eb00ea352fbd2ebd7d..5e3f0d15e65dd57769e18bf8bfd83446b67f59b2 100644 |
--- a/gm/textblobgeometrychange.cpp |
+++ b/gm/textblobgeometrychange.cpp |
@@ -42,8 +42,7 @@ protected: |
SkAutoTUnref<const SkTextBlob> blob(builder.build()); |
- SkImageInfo info = SkImageInfo::MakeN32(200, 200, kPremul_SkAlphaType, |
- sk_ref_sp(canvas->imageInfo().colorSpace())); |
+ SkImageInfo info = SkImageInfo::MakeN32Premul(200, 200); |
SkSurfaceProps props(0, kUnknown_SkPixelGeometry); |
auto surface = canvas->makeSurface(info, &props); |
if (!surface) { |