Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index 0069087a92dc82da50f82e85c57fe14727197cf0..2c9a3dee1691da5a67e36924ecf78130c476f66a 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -1601,7 +1601,7 @@ void SkDraw::drawText(const char text[], size_t byteLength, |
SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc(); |
- SkAutoGlyphCache autoCache(paint, &fDevice->getLeakyProperties(), fMatrix); |
+ SkAutoGlyphCache autoCache(paint, &fDevice->surfaceProps(), fMatrix); |
SkGlyphCache* cache = autoCache.getCache(); |
// transform our starting point |
@@ -1747,7 +1747,7 @@ void SkDraw::drawPosText(const char text[], size_t byteLength, |
} |
SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc(); |
- SkAutoGlyphCache autoCache(paint, &fDevice->getLeakyProperties(), fMatrix); |
+ SkAutoGlyphCache autoCache(paint, &fDevice->surfaceProps(), fMatrix); |
SkGlyphCache* cache = autoCache.getCache(); |
SkAAClipBlitterWrapper wrapper; |