diff options
author | 2014-07-11 19:45:23 -0700 | |
---|---|---|
committer | 2014-07-11 19:45:23 -0700 | |
commit | fb747e2c745896dd94425ff690483ae3838e88fe (patch) | |
tree | 2c1a2fbcb6f416e6f8899165c1373a0034daf2c9 /src/pdf/SkPDFFontImpl.h | |
parent | 733f5f5dbca10fc6385ec3c77b3e9ff78227dac7 (diff) |
Make SkPDFFont::fFontInfo a const pointer.
BUG=skia:2742
R=djsollen@google.com, scroggo@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/383063007
Diffstat (limited to 'src/pdf/SkPDFFontImpl.h')
-rw-r--r-- | src/pdf/SkPDFFontImpl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pdf/SkPDFFontImpl.h b/src/pdf/SkPDFFontImpl.h index 4b49683a5a..99f1941a8c 100644 --- a/src/pdf/SkPDFFontImpl.h +++ b/src/pdf/SkPDFFontImpl.h @@ -29,7 +29,7 @@ private: typedef SkPDFDict INHERITED; #endif - SkPDFType0Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface); + SkPDFType0Font(const SkAdvancedTypefaceMetrics* info, SkTypeface* typeface); bool populate(const SkPDFGlyphSet* subset); }; @@ -42,7 +42,7 @@ public: private: friend class SkPDFType0Font; // to access the constructor - SkPDFCIDFont(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, + SkPDFCIDFont(const SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, const SkPDFGlyphSet* subset); bool populate(const SkPDFGlyphSet* subset); @@ -58,7 +58,7 @@ public: private: friend class SkPDFFont; // to access the constructor - SkPDFType1Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, + SkPDFType1Font(const SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, uint16_t glyphID, SkPDFDict* relatedFontDescriptor); bool populate(int16_t glyphID); @@ -75,7 +75,8 @@ public: private: friend class SkPDFFont; // to access the constructor - SkPDFType3Font(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, uint16_t glyphID); + SkPDFType3Font(const SkAdvancedTypefaceMetrics* info, + SkTypeface* typeface, uint16_t glyphID); bool populate(int16_t glyphID); }; |