summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfeditpage.cpp
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-04-26 22:24:30 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-26 22:24:30 -0700
commit931bf37379db7274d0e42f68cf358749cb05ba89 (patch)
treeddd5b499d25efe7eec623571ac1e7f0b75ef8476 /fpdfsdk/fpdfeditpage.cpp
parentd647a6b2e3fbd2711273637e5a56e659a113d2e9 (diff)
downloadpdfium-931bf37379db7274d0e42f68cf358749cb05ba89.tar.xz
Move CPDF_Document code into cpdf_document.cpp.
Review URL: https://codereview.chromium.org/1925453002
Diffstat (limited to 'fpdfsdk/fpdfeditpage.cpp')
-rw-r--r--fpdfsdk/fpdfeditpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfeditpage.cpp b/fpdfsdk/fpdfeditpage.cpp
index c4273fe64f..576d9fb778 100644
--- a/fpdfsdk/fpdfeditpage.cpp
+++ b/fpdfsdk/fpdfeditpage.cpp
@@ -36,7 +36,7 @@
#endif
DLLEXPORT FPDF_DOCUMENT STDCALL FPDF_CreateNewDocument() {
- CPDF_Document* pDoc = new CPDF_Document;
+ CPDF_Document* pDoc = new CPDF_Document(nullptr);
pDoc->CreateNewDoc();
time_t currentTime;