Index: src/gpu/GrSWMaskHelper.cpp |
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp |
index ff529124fe067bcde529524ae0589ddff77eed0d..510b85acb8c56de2ec46b5ebe82a58c0601bd4c7 100644 |
--- a/src/gpu/GrSWMaskHelper.cpp |
+++ b/src/gpu/GrSWMaskHelper.cpp |
@@ -248,7 +248,8 @@ GrTexture* GrSWMaskHelper::createTexture() { |
SkASSERT(fContext->getGpu()->caps()->isConfigTexturable(desc.fConfig)); |
} |
- return fContext->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch); |
+ return fContext->textureProvider()->refScratchTexture( |
+ desc, GrTextureProvider::kApprox_ScratchTexMatch); |
} |
void GrSWMaskHelper::sendTextureData(GrTexture *texture, const GrSurfaceDesc& desc, |