Index: gm/textblobgeometrychange.cpp |
diff --git a/gm/textblobgeometrychange.cpp b/gm/textblobgeometrychange.cpp |
index a241c5c7ba611f659c169da7a1e67842bf4ef606..87c432f5b740ea958103c0d422c90fdeb645087d 100644 |
--- a/gm/textblobgeometrychange.cpp |
+++ b/gm/textblobgeometrychange.cpp |
@@ -42,8 +42,7 @@ |
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, canvas->imageInfo().profileType()); |
SkSurfaceProps canvasProps(SkSurfaceProps::kLegacyFontHost_InitType); |
uint32_t gammaCorrect = canvas->getProps(&canvasProps) |
? canvasProps.flags() & SkSurfaceProps::kGammaCorrect_Flag : 0; |