Index: gm/xfermodes3.cpp |
diff --git a/gm/xfermodes3.cpp b/gm/xfermodes3.cpp |
index 642175e5a18b1b4c86da65f4aaa9a4f68e375ad9..2b554b6c11474d596ea5eba8e9e7476e27b8868d 100644 |
--- a/gm/xfermodes3.cpp |
+++ b/gm/xfermodes3.cpp |
@@ -126,7 +126,7 @@ |
GrContext* context = baseCanvas->getGrContext(); |
SkImageInfo baseInfo = baseCanvas->imageInfo(); |
SkImageInfo info = SkImageInfo::Make(w, h, baseInfo.colorType(), baseInfo.alphaType(), |
- sk_ref_sp(baseInfo.colorSpace())); |
+ baseInfo.profileType()); |
SkSurfaceProps canvasProps(SkSurfaceProps::kLegacyFontHost_InitType); |
baseCanvas->getProps(&canvasProps); |
return SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info, 0, &canvasProps); |