| Index: tests/GrPorterDuffTest.cpp
|
| diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp
|
| index b0377715b4d13848777315ef1e238d47e5a24784..a55fffe9be96a164310d2b71e0fe921047c517bb 100644
|
| --- a/tests/GrPorterDuffTest.cpp
|
| +++ b/tests/GrPorterDuffTest.cpp
|
| @@ -28,8 +28,8 @@ static void test_color_opaque_no_coverage(skiatest::Reporter* reporter, const Gr
|
| static void test_lcd_coverage(skiatest::Reporter* reporter, const GrCaps& caps);
|
| static void test_lcd_coverage_fallback_case(skiatest::Reporter* reporter, const GrCaps& caps);
|
|
|
| -DEF_GPUTEST_FOR_NULL_CONTEXT(GrPorterDuff, reporter, context) {
|
| - const GrCaps& caps = *context->getGpu()->caps();
|
| +DEF_GPUTEST_FOR_NULL_CONTEXT(GrPorterDuff, reporter, ctxInfo) {
|
| + const GrCaps& caps = *ctxInfo.fGrContext->getGpu()->caps();
|
| if (!caps.shaderCaps()->dualSourceBlendingSupport()) {
|
| SkFAIL("Null context does not support dual source blending.");
|
| return;
|
|
|