| Index: src/ports/SkFontConfigInterface_android.cpp
|
| diff --git a/src/ports/SkFontConfigInterface_android.cpp b/src/ports/SkFontConfigInterface_android.cpp
|
| index c2ea87eccaa12af2591fc938852cfcc6aeeaf3e2..14be93457f1b1a25fbfa21028bd5a1d9364b5b98 100644
|
| --- a/src/ports/SkFontConfigInterface_android.cpp
|
| +++ b/src/ports/SkFontConfigInterface_android.cpp
|
| @@ -633,7 +633,7 @@ SkTypeface* SkFontConfigInterfaceAndroid::nextLogicalTypeface(SkFontID currFontI
|
| 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);
|
| }
|
|
|