summaryrefslogtreecommitdiff
path: root/core/fpdfapi/cpdf_modulemgr.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-11 12:29:38 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-11 12:29:38 -0700
commit9fa95efa11f211a6faf9b2adb27211f784aee89a (patch)
tree821d0ba42f8cff01eac78da0ebd151e160a93306 /core/fpdfapi/cpdf_modulemgr.cpp
parent4ea4281ad5775686317ef53f48eab39898d13d23 (diff)
downloadpdfium-9fa95efa11f211a6faf9b2adb27211f784aee89a.tar.xz
Rename fpdf_page_doc.cpp -> cpdf_docpagedata.h
Review-Url: https://codereview.chromium.org/2409283002
Diffstat (limited to 'core/fpdfapi/cpdf_modulemgr.cpp')
-rw-r--r--core/fpdfapi/cpdf_modulemgr.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fpdfapi/cpdf_modulemgr.cpp b/core/fpdfapi/cpdf_modulemgr.cpp
index ff7d95a68e..8ae8464ef5 100644
--- a/core/fpdfapi/cpdf_modulemgr.cpp
+++ b/core/fpdfapi/cpdf_modulemgr.cpp
@@ -32,6 +32,10 @@ CPDF_ModuleMgr::CPDF_ModuleMgr() : m_pCodecModule(nullptr) {}
CPDF_ModuleMgr::~CPDF_ModuleMgr() {}
+void CPDF_ModuleMgr::InitPageModule() {
+ m_pPageModule.reset(new CPDF_PageModule);
+}
+
CCodec_FaxModule* CPDF_ModuleMgr::GetFaxModule() {
return m_pCodecModule ? m_pCodecModule->GetFaxModule() : nullptr;
}