diff options
author | bsalomon <bsalomon@google.com> | 2014-08-28 14:06:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-28 14:06:42 -0700 |
commit | 23b406cc040d55b45acc96e63db5c2d5c934a53c (patch) | |
tree | b1471b79afd558e318750c15f5f06c83b8a9b9bf /tests/ReadWriteAlphaTest.cpp | |
parent | b17c1291085e50819c0c46aae783067c30a67516 (diff) |
Make SkGpuDevice constructors private.
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/517033002
Diffstat (limited to 'tests/ReadWriteAlphaTest.cpp')
-rw-r--r-- | tests/ReadWriteAlphaTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp index 06ede48afd..a320347637 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; |