R=scroggo@google.com
Author: djsollen@google.com
Review URL: https://codereview.chromium.org/
145233002
git-svn-id: http://skia.googlecode.com/svn/trunk@13152
2bbb7eff-a529-9590-31e7-
b0007b416f81
const SkTypeface* currTypeface = SkTypefaceCache::FindByID(currFontID);
// non-system fonts are not in the font cache so if we are asked to fallback
// for a non-system font we will start at the front of the chain.
- if (NULL != currTypeface && currFontID != origFontID) {
+ if (NULL != currTypeface) {
currFontRecID = ((FontConfigTypeface*)currTypeface)->getIdentity().fID;
SkASSERT(INVALID_FONT_REC_ID != currFontRecID);
}