Index: gm/surface.cpp |
diff --git a/gm/surface.cpp b/gm/surface.cpp |
index 7c0b0c9d9fea997fcb22df40ab2b9563a7454237..6323c7047b81e19b0af5f07c2d7b34040da55aee 100644 |
--- a/gm/surface.cpp |
+++ b/gm/surface.cpp |
@@ -65,8 +65,7 @@ protected: |
GrContext* ctx = canvas->getGrContext(); |
// 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())); |
+ const SkImageInfo info = SkImageInfo::MakeN32(W, H, kOpaque_SkAlphaType); |
const struct { |
SkPixelGeometry fGeo; |