summaryrefslogtreecommitdiffstats
path: root/skia/sgl/SkPaint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'skia/sgl/SkPaint.cpp')
-rw-r--r--skia/sgl/SkPaint.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/skia/sgl/SkPaint.cpp b/skia/sgl/SkPaint.cpp
index 5fc1f14..bb6b31e 100644
--- a/skia/sgl/SkPaint.cpp
+++ b/skia/sgl/SkPaint.cpp
@@ -365,18 +365,6 @@ int SkPaint::textToGlyphs(const void* textData, size_t byteLength,
return gptr - glyphs;
}
-#ifdef SKIA_HARFBUZZ
-void SkPaint::setupShaper(HB_ShaperItem* item) {
- SkAutoGlyphCache autoCache(*this, NULL);
- autoCache.getCache()->setupShaper(item);
-}
-
-void SkPaint::releaseShaper(HB_ShaperItem* item) {
- SkAutoGlyphCache autoCache(*this, NULL);
- autoCache.getCache()->releaseShaper(item);
-}
-#endif
-
///////////////////////////////////////////////////////////////////////////////
static uint32_t sk_glyphID_next(const char** text)