Index: src/gpu/GrBatchFontCache.cpp |
diff --git a/src/gpu/GrBatchFontCache.cpp b/src/gpu/GrBatchFontCache.cpp |
index 4f27cfcf8cf33a494d4a569ef1fde4011b03f90a..a1f87cb6b3d672e9790b22c3a4bddbc1120034dd 100644 |
--- a/src/gpu/GrBatchFontCache.cpp |
+++ b/src/gpu/GrBatchFontCache.cpp |
@@ -27,7 +27,8 @@ static GrBatchAtlas* make_atlas(GrContext* context, GrPixelConfig config, |
// We don't want to flush the context so we claim we're in the middle of flushing so as to |
// guarantee we do not recieve a texture with pending IO |
- GrTexture* texture = context->refScratchTexture(desc, GrContext::kApprox_ScratchTexMatch, true); |
+ GrTexture* texture = context->textureProvider()->refScratchTexture( |
+ desc, GrTextureProvider::kApprox_ScratchTexMatch, true); |
if (!texture) { |
return NULL; |
} |