Index: tools/PictureRenderer.cpp |
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
index 270b61fd2832624aa146e5f116caf614d71521c3..34b08f567c89ef082048ab1066aa44bde423fc67 100644 |
--- a/tools/PictureRenderer.cpp |
+++ b/tools/PictureRenderer.cpp |
@@ -159,7 +159,9 @@ SkCanvas* PictureRenderer::setupCanvas(int width, int height) { |
uint32_t flags = fUseDFText ? SkSurfaceProps::kUseDistanceFieldFonts_Flag : 0; |
SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); |
- SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(target->asRenderTarget(), &props)); |
+ SkAutoTUnref<SkGpuDevice> device( |
+ SkGpuDevice::Create(target->asRenderTarget(), &props, |
+ SkGpuDevice::kUninit_InitContents)); |
if (!device) { |
return NULL; |
} |