aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf/SkPDFFont.h
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-05-04 10:10:05 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-04 16:57:43 +0000
commitcef018896e5cad8eb46a536b60cdf79ebe2b0191 (patch)
tree2085d6071e90287f8dcacc31d801eaa99f35c035 /src/pdf/SkPDFFont.h
parentba9028440be7cd651759be3ff517809aad189de3 (diff)
SkTypeface::getAdvancedMetrics(): cleanup
- SkAdvancedTypefaceMetrics is a struct not a class - SkTypeface::PerGlyphInfo is gone - s/getAdvancedTypefaceMetrics/getAdvancedMetrics/g - s/onGetAdvancedTypefaceMetrics/onGetAdvancedMetrics/g - [on]getAdvancedMetrics now return unique_ptr rather than bare ptr. - [on]getAdvancedMetrics no longer has parameters. (Only caller always used same arguments.) - SkAdvancedTypefaceMetrics uses C++11 in-class member initializers. - SkAdvancedTypefaceMetrics no longer inherits from SkRefCnt Change-Id: I37571ebcc383ba9eb21bc20c60c734e3ca317582 Reviewed-on: https://skia-review.googlesource.com/15311 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/pdf/SkPDFFont.h')
-rw-r--r--src/pdf/SkPDFFont.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h
index 6151279248..5639d87b67 100644
--- a/src/pdf/SkPDFFont.h
+++ b/src/pdf/SkPDFFont.h
@@ -87,8 +87,7 @@ public:
SkTypeface* typeface,
SkGlyphID glyphID);
- /** Uses (kGlyphNames_PerGlyphInfo | kToUnicode_PerGlyphInfo) to get
- * SkAdvancedTypefaceMetrics, and caches the result.
+ /** Gets SkAdvancedTypefaceMetrics, and caches the result.
* @param typeface can not be nullptr.
* @return nullptr only when typeface is bad.
*/