Index: core/fpdfapi/fpdf_font/include/cpdf_font.h |
diff --git a/core/fpdfapi/fpdf_font/include/cpdf_font.h b/core/fpdfapi/fpdf_font/include/cpdf_font.h |
index a47d8655c259b732becf3fae6c617d9df5ce427d..eb91524320fd53b784679f0c813908ab31157b01 100644 |
--- a/core/fpdfapi/fpdf_font/include/cpdf_font.h |
+++ b/core/fpdfapi/fpdf_font/include/cpdf_font.h |
@@ -38,8 +38,8 @@ class CPDF_ToUnicodeMap; |
class CPDF_Font { |
public: |
- static CPDF_Font* CreateFontF(CPDF_Document* pDoc, |
- CPDF_Dictionary* pFontDict); |
+ static std::unique_ptr<CPDF_Font> Create(CPDF_Document* pDoc, |
+ CPDF_Dictionary* pFontDict); |
static CPDF_Font* GetStockFont(CPDF_Document* pDoc, |
const CFX_ByteStringC& fontname); |
static const uint32_t kInvalidCharCode = static_cast<uint32_t>(-1); |