aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DeviceTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-07-26 11:38:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-26 11:38:17 -0700
commit7e922765545f42ce691e4f3d5fbbd4e44ba47ff1 (patch)
tree40f15d00e25acaf015f46e45d11d1858eb3b8cf6 /tests/DeviceTest.cpp
parent3a0dbde1cfa84b08c7dd5b597142e9f6179f2d07 (diff)
Reduce usage of MakeRenderTargetDirect
Diffstat (limited to 'tests/DeviceTest.cpp')
-rw-r--r--tests/DeviceTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/DeviceTest.cpp b/tests/DeviceTest.cpp
index d6bd1bfe47..f7d855a266 100644
--- a/tests/DeviceTest.cpp
+++ b/tests/DeviceTest.cpp
@@ -81,7 +81,8 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialImage_GPUDevice, reporter, ctxInfo) {
SkImageInfo ii = SkImageInfo::MakeN32Premul(2*kWidth, 2*kHeight);
sk_sp<SkBaseDevice> gpuDev(SkGpuDevice::Make(context, SkBudgeted::kNo, ii,
- 0, nullptr, SkGpuDevice::kClear_InitContents));
+ 0, kBottomLeft_GrSurfaceOrigin, nullptr,
+ SkGpuDevice::kClear_InitContents));
SkBitmap bm;
SkAssertResult(bm.tryAllocN32Pixels(kWidth, kHeight));