diff options
author | thestig <thestig@chromium.org> | 2016-04-26 22:24:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-26 22:24:30 -0700 |
commit | 931bf37379db7274d0e42f68cf358749cb05ba89 (patch) | |
tree | ddd5b499d25efe7eec623571ac1e7f0b75ef8476 /fpdfsdk/pdfwindow | |
parent | d647a6b2e3fbd2711273637e5a56e659a113d2e9 (diff) | |
download | pdfium-931bf37379db7274d0e42f68cf358749cb05ba89.tar.xz |
Move CPDF_Document code into cpdf_document.cpp.
Review URL: https://codereview.chromium.org/1925453002
Diffstat (limited to 'fpdfsdk/pdfwindow')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_FontMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/pdfwindow/PWL_FontMap.cpp index 96ca6ea2ff..62bb4079f2 100644 --- a/fpdfsdk/pdfwindow/PWL_FontMap.cpp +++ b/fpdfsdk/pdfwindow/PWL_FontMap.cpp @@ -53,7 +53,7 @@ void CPWL_FontMap::SetSystemHandler(IFX_SystemHandler* pSystemHandler) { CPDF_Document* CPWL_FontMap::GetDocument() { if (!m_pPDFDoc) { if (CPDF_ModuleMgr::Get()) { - m_pPDFDoc = new CPDF_Document; + m_pPDFDoc = new CPDF_Document(nullptr); m_pPDFDoc->CreateNewDoc(); } } |