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.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/skia/sgl/SkPaint.cpp b/skia/sgl/SkPaint.cpp
index 71aa230..ef23f09 100644
--- a/skia/sgl/SkPaint.cpp
+++ b/skia/sgl/SkPaint.cpp
@@ -374,26 +374,6 @@ int SkPaint::textToGlyphs(const void* textData, size_t byteLength, uint16_t glyp
//////////////////////////////////////////////////////////////////////////////
-static uint32_t sk_glyphID_next(const char** text)
-{
- const uint16_t* glyph = (const uint16_t*)text;
- int32_t value = *glyph;
- glyph += 1;
- *text = (const char*)glyph;
- return value;
-}
-
-static uint32_t sk_glyphID_prev(const char** text)
-{
- const uint16_t* glyph = (const uint16_t*)text;
- glyph -= 1;
- int32_t value = *glyph;
- *text = (const char*)glyph;
- return value;
-}
-
-//////////////////////////////////////////////////////////////////////////////
-
static const SkGlyph& sk_getMetrics_utf8_next(SkGlyphCache* cache, const char** text)
{
SkASSERT(cache != NULL);