Index: gm/xfermodes3.cpp |
diff --git a/gm/xfermodes3.cpp b/gm/xfermodes3.cpp |
index 84bc1e2218fbd80d7be5d673851e6e7816a8c54b..e5c8dd5eb7ca98c87fca0d7a97d1e02a1771f914 100644 |
--- a/gm/xfermodes3.cpp |
+++ b/gm/xfermodes3.cpp |
@@ -128,7 +128,9 @@ private: |
SkImageInfo baseInfo = baseCanvas->imageInfo(); |
SkImageInfo info = SkImageInfo::Make(w, h, baseInfo.colorType(), baseInfo.alphaType(), |
baseInfo.profileType()); |
- return SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info, 0, nullptr); |
+ SkSurfaceProps canvasProps(SkSurfaceProps::kLegacyFontHost_InitType); |
+ baseCanvas->getProps(&canvasProps); |
+ return SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info, 0, &canvasProps); |
#else |
return nullptr; |
#endif |