diff options
Diffstat (limited to 'tests/GpuDrawPathTest.cpp')
-rw-r--r-- | tests/GpuDrawPathTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GpuDrawPathTest.cpp b/tests/GpuDrawPathTest.cpp index 3dcba52bd9..98313aabaa 100644 --- a/tests/GpuDrawPathTest.cpp +++ b/tests/GpuDrawPathTest.cpp @@ -64,7 +64,7 @@ DEF_GPUTEST(GpuDrawPath, reporter, factory) { desc.fHeight = H; desc.fSampleCnt = sampleCounts[i]; SkAutoTUnref<GrTexture> texture(grContext->createUncachedTexture(desc, NULL, 0)); - SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get()))); + SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(texture.get())); SkCanvas drawingCanvas(device.get()); test_drawPathEmpty(reporter, &drawingCanvas); |