Index: tests/ReadWriteAlphaTest.cpp |
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp |
index 6ae77d04118c256ad5e16854bf630027cbfe901f..a76706862211af60bab5ff36e38efd7870d71a16 100644 |
--- a/tests/ReadWriteAlphaTest.cpp |
+++ b/tests/ReadWriteAlphaTest.cpp |
@@ -83,7 +83,8 @@ DEF_GPUTEST(ReadWriteAlpha, reporter, factory) { |
// Now try writing on the single channel texture |
SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); |
- SkAutoTUnref<SkBaseDevice> device(SkGpuDevice::Create(texture->asRenderTarget(), &props)); |
+ SkAutoTUnref<SkBaseDevice> device(SkGpuDevice::Create(texture->asRenderTarget(), &props, |
+ SkGpuDevice::kUninit_InitContents)); |
SkCanvas canvas(device); |
SkPaint paint; |