aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPaintPriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPaintPriv.h')
-rw-r--r--src/core/SkPaintPriv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPaintPriv.h b/src/core/SkPaintPriv.h
index dbac69beb0..a5ee9a5e59 100644
--- a/src/core/SkPaintPriv.h
+++ b/src/core/SkPaintPriv.h
@@ -68,7 +68,7 @@ public:
static bool ShouldDither(const SkPaint&, SkColorType);
- // returns 0 if buffer is invalid for specified encoding
+ // returns -1 if buffer is invalid for specified encoding
static int ValidCountText(const void* text, size_t length, SkPaint::TextEncoding);
static SkTypeface* GetTypefaceOrDefault(const SkPaint& paint) {