Index: src/gpu/GrTextContext.h |
diff --git a/src/gpu/GrTextContext.h b/src/gpu/GrTextContext.h |
index 95344dd39fbea0ee3e7c4095c828ae0c88bc1f63..4f7207b04c0edc07eed403b0791e5b72561f80f2 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 |