Index: src/ports/SkFontMgr_android.cpp |
diff --git a/src/ports/SkFontMgr_android.cpp b/src/ports/SkFontMgr_android.cpp |
index 49ca08194be77cb7044779abce2b07b0d87cdeb7..61f990c7387241a1475388ba1cd660a4be4e636a 100644 |
--- a/src/ports/SkFontMgr_android.cpp |
+++ b/src/ports/SkFontMgr_android.cpp |
@@ -66,7 +66,6 @@ public: |
SkASSERT(desc); |
SkASSERT(serialize); |
desc->setFamilyName(fFamilyName.c_str()); |
- desc->setFontFileName(fPathName.c_str()); |
desc->setFontIndex(fIndex); |
*serialize = false; |
} |
@@ -97,7 +96,6 @@ public: |
SkASSERT(desc); |
SkASSERT(serialize); |
desc->setFamilyName(fFamilyName.c_str()); |
- desc->setFontFileName(NULL); |
*serialize = true; |
} |