diff options
Diffstat (limited to 'tests/PremulAlphaRoundTripTest.cpp')
-rw-r--r-- | tests/PremulAlphaRoundTripTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PremulAlphaRoundTripTest.cpp b/tests/PremulAlphaRoundTripTest.cpp index 14ab7216f2..575e776377 100644 --- a/tests/PremulAlphaRoundTripTest.cpp +++ b/tests/PremulAlphaRoundTripTest.cpp @@ -108,7 +108,7 @@ DEF_TEST(PremulAlphaRoundTrip, reporter) { DEF_GPUTEST_FOR_RENDERING_CONTEXTS(PremulAlphaRoundTrip_Gpu, reporter, ctxInfo) { const SkImageInfo info = SkImageInfo::MakeN32Premul(256, 256); - sk_sp<SkSurface> surf(SkSurface::MakeRenderTarget(ctxInfo.fGrContext, + sk_sp<SkSurface> surf(SkSurface::MakeRenderTarget(ctxInfo.grContext(), SkBudgeted::kNo, info)); test_premul_alpha_roundtrip(reporter, surf.get()); |