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