| Index: src/effects/SkLightingImageFilter.cpp
|
| diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp
|
| index ebe80b0c2cdcd15834afc37b5dd05c23166384b1..a9e833539cde6e860cb35cc8f09c710bc0d40711 100644
|
| --- a/src/effects/SkLightingImageFilter.cpp
|
| +++ b/src/effects/SkLightingImageFilter.cpp
|
| @@ -408,11 +408,11 @@ sk_sp<SkSpecialImage> SkLightingImageFilterInternal::filterImageGPU(SkSpecialIma
|
| sk_sp<GrTexture> inputTexture(input->asTextureRef(context));
|
| SkASSERT(inputTexture);
|
|
|
| - sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox,
|
| - offsetBounds.width(),
|
| - offsetBounds.height(),
|
| - kRGBA_8888_GrPixelConfig,
|
| - sk_ref_sp(source->getColorSpace())));
|
| + sk_sp<GrDrawContext> drawContext(context->makeDrawContext(SkBackingFit::kApprox,
|
| + offsetBounds.width(),
|
| + offsetBounds.height(),
|
| + kRGBA_8888_GrPixelConfig,
|
| + sk_ref_sp(source->getColorSpace())));
|
| if (!drawContext) {
|
| return nullptr;
|
| }
|
|
|