Index: src/gpu/GrTextContext.cpp |
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp |
index 90328584a30de49dcccf4925e318138224cc9a4a..f929de69b13e8a88a4c3ace25367e97a20836be6 100644 |
--- a/src/gpu/GrTextContext.cpp |
+++ b/src/gpu/GrTextContext.cpp |
@@ -218,7 +218,7 @@ void GrTextContext::drawPosTextAsPath(GrRenderTarget* rt, |
paint.setPathEffect(NULL); |
SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc(); |
- SkAutoGlyphCache autoCache(paint, NULL, NULL); |
+ SkAutoGlyphCache autoCache(paint, &fSurfaceProps, NULL); |
SkGlyphCache* cache = autoCache.getCache(); |
const char* stop = text + byteLength; |