| Index: tools/PictureRenderer.cpp
|
| diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp
|
| index e4a69986db21817aba418e6a62718873cb305c9c..1c31e6865ad36216e1a82c57447a28a0d95c76ae 100644
|
| --- a/tools/PictureRenderer.cpp
|
| +++ b/tools/PictureRenderer.cpp
|
| @@ -161,8 +161,10 @@ SkCanvas* PictureRenderer::setupCanvas(int width, int height) {
|
| return NULL;
|
| }
|
|
|
| + uint32_t flags = fUseDFText ? SkGpuDevice::kDFText_Flag : 0;
|
| SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(target,
|
| - SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)));
|
| + SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType),
|
| + flags));
|
| canvas = SkNEW_ARGS(SkCanvas, (device.get()));
|
| break;
|
| }
|
|
|