diff options
author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-03 01:57:21 +0000 |
---|---|---|
committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-03 01:57:21 +0000 |
commit | b753ef2ca9567eaccd9bda3e22b4abd6b4adeb58 (patch) | |
tree | bb5c582592ee9418265055533ce3f194f0a7f209 | |
parent | dc09f07671145b21c83de7153c9c9b950c871f1a (diff) |
pass ~0 for length when we want to know the length of a table (with dst==null)
git-svn-id: http://skia.googlecode.com/svn/trunk@7945 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/ports/SkFontHost_mac_coretext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_mac_coretext.cpp b/src/ports/SkFontHost_mac_coretext.cpp index 74ff3e165e..91b73383e8 100644 --- a/src/ports/SkFontHost_mac_coretext.cpp +++ b/src/ports/SkFontHost_mac_coretext.cpp @@ -1751,7 +1751,7 @@ int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) { // DEPRECATED size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) { SkTypeface* face = SkTypefaceCache::FindByID(fontID); - return face ? face->onGetTableData(tag, 0, 0, NULL) : 0; + return face ? face->onGetTableData(tag, 0, ~0, NULL) : 0; } // DEPRECATED |