aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkFontDescriptor.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-04-17 11:00:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-17 11:00:06 -0700
commit9d911d5a9323bda1e4a77c46a0c28708dcc2ad38 (patch)
tree685c86620940f7813d11778defda1b293c576ca2 /src/core/SkFontDescriptor.h
parentfec19e1751d1a20748e9beaf0a948c01ffe89f04 (diff)
Remove filename from SkFontDescriptor.
No one actually uses it, so remove it. Keep the string id for backward compatibility. TBR=reed@google.com This doesn't change any public API. Review URL: https://codereview.chromium.org/1057413005
Diffstat (limited to 'src/core/SkFontDescriptor.h')
-rw-r--r--src/core/SkFontDescriptor.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/SkFontDescriptor.h b/src/core/SkFontDescriptor.h
index 13f9cb7257..66707ddd3c 100644
--- a/src/core/SkFontDescriptor.h
+++ b/src/core/SkFontDescriptor.h
@@ -26,7 +26,6 @@ public:
const char* getFamilyName() const { return fFamilyName.c_str(); }
const char* getFullName() const { return fFullName.c_str(); }
const char* getPostscriptName() const { return fPostscriptName.c_str(); }
- const char* getFontFileName() const { return fFontFileName.c_str(); }
bool hasFontData() const { return fFontData.get() != NULL; }
// Transfers ownership to the caller.
SkStreamAsset* transferFontData() { return fFontData.detach(); }
@@ -35,7 +34,6 @@ public:
void setFamilyName(const char* name) { fFamilyName.set(name); }
void setFullName(const char* name) { fFullName.set(name); }
void setPostscriptName(const char* name) { fPostscriptName.set(name); }
- void setFontFileName(const char* name) { fFontFileName.set(name); }
/** Set the font data only if it is necessary for serialization.
* This method takes ownership of the stream (both reference and cursor).
*/
@@ -46,7 +44,6 @@ private:
SkString fFamilyName;
SkString fFullName;
SkString fPostscriptName;
- SkString fFontFileName;
SkAutoTDelete<SkStreamAsset> fFontData;
int fFontIndex;