aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/skbug5221.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/skbug5221.cpp
parent3a0dbde1cfa84b08c7dd5b597142e9f6179f2d07 (diff)
Reduce usage of MakeRenderTargetDirect
Diffstat (limited to 'tests/skbug5221.cpp')
-rw-r--r--tests/skbug5221.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/skbug5221.cpp b/tests/skbug5221.cpp
index dfd065f0b7..0220e54d5f 100644
--- a/tests/skbug5221.cpp
+++ b/tests/skbug5221.cpp
@@ -26,8 +26,7 @@ DEF_TEST(skbug5221, r) {
#if SK_SUPPORT_GPU
DEF_GPUTEST_FOR_ALL_CONTEXTS(skbug5221_GPU, r, contextInfo) {
sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(contextInfo.grContext(), SkBudgeted::kYes,
- SkImageInfo::MakeN32Premul(256, 256), 0,
- nullptr));
+ SkImageInfo::MakeN32Premul(256, 256)));
test(surface->getCanvas());
}
#endif