Index: xfa/fgas/font/cfgas_fontmgr.cpp |
diff --git a/xfa/fgas/font/cfgas_fontmgr.cpp b/xfa/fgas/font/cfgas_fontmgr.cpp |
index 9b95318bd0e5be3ab58fedf968480237252e19d8..219e67dbc6c12c10ca17172e07097fbcaa05d9fd 100644 |
--- a/xfa/fgas/font/cfgas_fontmgr.cpp |
+++ b/xfa/fgas/font/cfgas_fontmgr.cpp |
@@ -909,7 +909,7 @@ IFX_SeekableReadStream* CFGAS_FontMgr::CreateFontStream( |
uint8_t* pBuffer = FX_Alloc(uint8_t, dwFileSize + 1); |
dwFileSize = pSystemFontInfo->GetFontData(hFont, 0, pBuffer, dwFileSize); |
- return FX_CreateMemoryStream(pBuffer, dwFileSize, true); |
+ return IFX_MemoryStream::Create(pBuffer, dwFileSize, true); |
} |
IFX_SeekableReadStream* CFGAS_FontMgr::CreateFontStream( |