aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTextContext.h')
-rw-r--r--src/gpu/GrTextContext.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/GrTextContext.h b/src/gpu/GrTextContext.h
index 95344dd39f..4f7207b04c 100644
--- a/src/gpu/GrTextContext.h
+++ b/src/gpu/GrTextContext.h
@@ -57,8 +57,9 @@ protected:
void finish() { fDrawTarget = NULL; }
static GrFontScaler* GetGrFontScaler(SkGlyphCache* cache);
- static void MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc,
- const char text[], size_t byteLength, SkVector* stopVector);
+ // sets extent in stopVector and returns glyph count
+ static int MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc,
+ const char text[], size_t byteLength, SkVector* stopVector);
};
#endif