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/fpdfdoc_unittest.cpp | |
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/fpdfdoc_unittest.cpp')
-rw-r--r-- | fpdfsdk/fpdfdoc_unittest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfdoc_unittest.cpp b/fpdfsdk/fpdfdoc_unittest.cpp index a67e50cd52..eb04de6971 100644 --- a/fpdfsdk/fpdfdoc_unittest.cpp +++ b/fpdfsdk/fpdfdoc_unittest.cpp @@ -24,6 +24,8 @@ class CPDF_TestDocument : public CPDF_Document { public: + CPDF_TestDocument() : CPDF_Document(nullptr) {} + void SetRoot(CPDF_Dictionary* root) { m_pRootDict = root; } CPDF_IndirectObjectHolder* GetHolder() { return this; } }; |