From 23b406cc040d55b45acc96e63db5c2d5c934a53c Mon Sep 17 00:00:00 2001 From: bsalomon Date: Thu, 28 Aug 2014 14:06:42 -0700 Subject: Make SkGpuDevice constructors private. R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/517033002 --- tests/GpuDrawPathTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/GpuDrawPathTest.cpp') 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 texture(grContext->createUncachedTexture(desc, NULL, 0)); - SkAutoTUnref device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get()))); + SkAutoTUnref device(SkGpuDevice::Create(texture.get())); SkCanvas drawingCanvas(device.get()); test_drawPathEmpty(reporter, &drawingCanvas); -- cgit v1.2.3