Index: tests/GpuDrawPathTest.cpp |
diff --git a/tests/GpuDrawPathTest.cpp b/tests/GpuDrawPathTest.cpp |
index dc8db0ff70f09b12720d97e206ff8264986c8440..c0b31f0737ab7a9283d0d7878eed19fe7d19d795 100644 |
--- a/tests/GpuDrawPathTest.cpp |
+++ b/tests/GpuDrawPathTest.cpp |
@@ -81,8 +81,8 @@ DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(GpuDrawPath, reporter, ctxInfo) { |
for (auto& sampleCount : {0, 4, 16}) { |
SkImageInfo info = SkImageInfo::MakeN32Premul(255, 255); |
auto surface( |
- SkSurface::MakeRenderTarget(ctxInfo.fGrContext, SkBudgeted::kNo, info, sampleCount, |
- nullptr)); |
+ SkSurface::MakeRenderTarget(ctxInfo.grContext(), SkBudgeted::kNo, info, |
+ sampleCount, nullptr)); |
if (!surface) { |
continue; |
} |