Index: tests/GpuDrawPathTest.cpp |
diff --git a/tests/GpuDrawPathTest.cpp b/tests/GpuDrawPathTest.cpp |
index 3dcba52bd93ea364eea9b56ce5efc8165b4042e2..98313aabaa3645acc88f5689965cf4bb42b31ff0 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); |