aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPaint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r--include/core/SkPaint.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index a564824448..8cc8733c27 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -1306,9 +1306,7 @@ public:
@param byteLength length of character storage in bytes
@return number of glyphs represented by text of length byteLength
*/
- int countText(const void* text, size_t byteLength) const {
- return this->textToGlyphs(text, byteLength, nullptr);
- }
+ int countText(const void* text, size_t byteLength) const;
/** Returns the advance width of text if kVerticalText_Flag is clear,
and the height of text if kVerticalText_Flag is set.