Index: tests/ReadWriteAlphaTest.cpp |
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp |
index 06ede48afdee8400f9336941932da42b7bcce87a..a3203476373b4517eb92e9d72d38d3132a74a996 100644 |
--- a/tests/ReadWriteAlphaTest.cpp |
+++ b/tests/ReadWriteAlphaTest.cpp |
@@ -81,7 +81,7 @@ DEF_GPUTEST(ReadWriteAlpha, reporter, factory) { |
REPORTER_ASSERT(reporter, match); |
// Now try writing on the single channel texture |
- SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(context, texture->asRenderTarget())); |
+ SkAutoTUnref<SkBaseDevice> device(SkGpuDevice::Create(texture->asRenderTarget())); |
SkCanvas canvas(device); |
SkPaint paint; |