diff options
author | robertphillips <robertphillips@google.com> | 2016-07-26 11:38:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-26 11:38:17 -0700 |
commit | 7e922765545f42ce691e4f3d5fbbd4e44ba47ff1 (patch) | |
tree | 40f15d00e25acaf015f46e45d11d1858eb3b8cf6 /tests/skbug5221.cpp | |
parent | 3a0dbde1cfa84b08c7dd5b597142e9f6179f2d07 (diff) |
Reduce usage of MakeRenderTargetDirect
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2187573002
Review-Url: https://codereview.chromium.org/2187573002
Diffstat (limited to 'tests/skbug5221.cpp')
-rw-r--r-- | tests/skbug5221.cpp | 3 |
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 |