#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:
parent
83787c55db
commit
7244e88383
@ -101,10 +101,14 @@ SkTypeface* SkFontMgr::createFromFile(const char path[], int ttcIndex) {
|
||||
}
|
||||
|
||||
SkFontMgr* SkFontMgr::RefDefault() {
|
||||
#if 1
|
||||
return NULL;
|
||||
#else
|
||||
static SkFontMgr* gFM;
|
||||
if (NULL == gFM) {
|
||||
gFM = SkFontMgr::Factory();
|
||||
}
|
||||
return SkRef(gFM);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user