Index: gm/textblobgeometrychange.cpp |
diff --git a/gm/textblobgeometrychange.cpp b/gm/textblobgeometrychange.cpp |
index a241c5c7ba611f659c169da7a1e67842bf4ef606..1b7bff319d4bad46595631eb00ea352fbd2ebd7d 100644 |
--- a/gm/textblobgeometrychange.cpp |
+++ b/gm/textblobgeometrychange.cpp |
@@ -44,10 +44,7 @@ protected: |
SkImageInfo info = SkImageInfo::MakeN32(200, 200, kPremul_SkAlphaType, |
sk_ref_sp(canvas->imageInfo().colorSpace())); |
- SkSurfaceProps canvasProps(SkSurfaceProps::kLegacyFontHost_InitType); |
- uint32_t gammaCorrect = canvas->getProps(&canvasProps) |
- ? canvasProps.flags() & SkSurfaceProps::kGammaCorrect_Flag : 0; |
- SkSurfaceProps props(gammaCorrect, kUnknown_SkPixelGeometry); |
+ SkSurfaceProps props(0, kUnknown_SkPixelGeometry); |
auto surface = canvas->makeSurface(info, &props); |
if (!surface) { |
surface = SkSurface::MakeRaster(info, &props); |