Index: tests/PremulAlphaRoundTripTest.cpp |
diff --git a/tests/PremulAlphaRoundTripTest.cpp b/tests/PremulAlphaRoundTripTest.cpp |
index 14ab7216f20e4053d6c548697bf30f6be0888545..575e7763779d3813e6fc11b7a94ce6af0eb14010 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()); |