aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ReadWriteAlphaTest.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/ReadWriteAlphaTest.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/ReadWriteAlphaTest.cpp')
-rw-r--r--tests/ReadWriteAlphaTest.cpp2
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;