Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index 2c9a3dee1691da5a67e36924ecf78130c476f66a..2bd9abb28928b3a6585d5dc4dd220042878ebdb5 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -1694,7 +1694,7 @@ void SkDraw::drawPosText_asPaths(const char text[], size_t byteLength, |
paint.setPathEffect(NULL); |
SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc(); |
- SkAutoGlyphCache autoCache(paint, NULL, NULL); |
+ SkAutoGlyphCache autoCache(paint, &fDevice->surfaceProps(), NULL); |
SkGlyphCache* cache = autoCache.getCache(); |
const char* stop = text + byteLength; |