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:
parent
f954d8dd9a
commit
139d84b263
@ -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
|
||||
*/
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user