Remove transitionary version of getAdvancedTypefaceMetrics. Webkit has been updated.

Review URL: http://codereview.appspot.com/4383041

git-svn-id: http://skia.googlecode.com/svn/trunk@1068 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
vandebo@chromium.org 2011-04-06 18:18:20 +00:00
parent f954d8dd9a
commit 139d84b263
2 changed files with 0 additions and 13 deletions

View File

@ -144,10 +144,6 @@ public:
SkAdvancedTypefaceMetrics* getAdvancedTypefaceMetrics(
SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo) const;
// Temporary: for transition purposes.
SkAdvancedTypefaceMetrics* getAdvancedTypefaceMetrics(
bool perGlyphInfo) const;
protected:
/** uniqueID must be unique (please!) and non-zero
*/

View File

@ -80,12 +80,3 @@ SkAdvancedTypefaceMetrics* SkTypeface::getAdvancedTypefaceMetrics(
SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo) const {
return SkFontHost::GetAdvancedTypefaceMetrics(fUniqueID, perGlyphInfo);
}
// Temporary: for transitions purposes only.
SkAdvancedTypefaceMetrics* SkTypeface::getAdvancedTypefaceMetrics(
bool perGlyphInfo) const {
SkASSERT(!perGlyphInfo);
return SkFontHost::GetAdvancedTypefaceMetrics(
fUniqueID,
SkAdvancedTypefaceMetrics::kNo_PerGlyphInfo);
}