aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DrawOpAtlasTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DrawOpAtlasTest.cpp')
-rw-r--r--tests/DrawOpAtlasTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DrawOpAtlasTest.cpp b/tests/DrawOpAtlasTest.cpp
index ef219d9412..584ae64825 100644
--- a/tests/DrawOpAtlasTest.cpp
+++ b/tests/DrawOpAtlasTest.cpp
@@ -184,7 +184,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrAtlasTextOpPreparation, reporter, ctxInfo)
rtc.get(), paint,
SkMatrix::I(), text,
16, 16);
- op->finalize(*context->caps(), nullptr, GrPixelConfigIsClamped::kNo);
+ op->finalize(*context->contextPriv().caps(), nullptr, GrPixelConfigIsClamped::kNo);
TestingUploadTarget uploadTarget;