Index: gm/surface.cpp |
diff --git a/gm/surface.cpp b/gm/surface.cpp |
index bae77c55946465dea63543141584bc7ef314bae2..15d362efd5942d1112b805656c676f69a05460a4 100644 |
--- a/gm/surface.cpp |
+++ b/gm/surface.cpp |
@@ -78,7 +78,7 @@ |
// must be opaque to have a hope of testing LCD text |
const SkImageInfo info = SkImageInfo::MakeN32(W, H, kOpaque_SkAlphaType, |
- sk_ref_sp(canvas->imageInfo().colorSpace())); |
+ canvas->imageInfo().profileType()); |
SkSurfaceProps canvasProps(SkSurfaceProps::kLegacyFontHost_InitType); |
bool gammaCorrect = canvas->getProps(&canvasProps) && canvasProps.isGammaCorrect(); |