#if 0 reference to SkFontMgr::Factory for now

git-svn-id: http://skia.googlecode.com/svn/trunk@8396 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-03-26 17:24:39 +00:00
parent 83787c55db
commit 7244e88383

View File

@ -101,10 +101,14 @@ SkTypeface* SkFontMgr::createFromFile(const char path[], int ttcIndex) {
} }
SkFontMgr* SkFontMgr::RefDefault() { SkFontMgr* SkFontMgr::RefDefault() {
#if 1
return NULL;
#else
static SkFontMgr* gFM; static SkFontMgr* gFM;
if (NULL == gFM) { if (NULL == gFM) {
gFM = SkFontMgr::Factory(); gFM = SkFontMgr::Factory();
} }
return SkRef(gFM); return SkRef(gFM);
#endif
} }