Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: src/pdf/SkPDFFontImpl.h

Issue 383063007: Make SkPDFFont::fFontInfo a const pointer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pdf/SkPDFFont.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFFontImpl.h
diff --git a/src/pdf/SkPDFFontImpl.h b/src/pdf/SkPDFFontImpl.h
index 4b49683a5ab86a495e085f5f81e6e3da7ab4e8bc..99f1941a8cab082c947c7c4c7113c5eb8bc531dd 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);
};
« no previous file with comments | « src/pdf/SkPDFFont.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698