aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GpuDrawPathTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-08-28 14:06:42 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-28 14:06:42 -0700
commit23b406cc040d55b45acc96e63db5c2d5c934a53c (patch)
treeb1471b79afd558e318750c15f5f06c83b8a9b9bf /tests/GpuDrawPathTest.cpp
parentb17c1291085e50819c0c46aae783067c30a67516 (diff)
Make SkGpuDevice constructors private.
R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/517033002
Diffstat (limited to 'tests/GpuDrawPathTest.cpp')
-rw-r--r--tests/GpuDrawPathTest.cpp2
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);