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