Index: tools/PictureRenderer.cpp |
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
index 8148a2b625b826fddf9491e7ac423bd3c45b88d4..705849d01acd92348f60f506f554ccf24cf38435 100644 |
--- a/tools/PictureRenderer.cpp |
+++ b/tools/PictureRenderer.cpp |
@@ -157,7 +157,8 @@ SkCanvas* PictureRenderer::setupCanvas(int width, int height) { |
return NULL; |
} |
- SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(target)); |
+ SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(target, |
+ SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType))); |
canvas = SkNEW_ARGS(SkCanvas, (device.get())); |
break; |
} |