diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-07 23:36:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-07 23:36:26 +0000 |
commit | 8f63763317ae1ef65d1ac2719624adeb728f2207 (patch) | |
tree | b4d7e2c8edd8a84e0bc197f29a3ac05532077e44 /core/fpdfapi/edit | |
parent | 4c31a13a704850fdf301fb561ba966baa3c7c29c (diff) | |
download | pdfium-8f63763317ae1ef65d1ac2719624adeb728f2207.tar.xz |
Make more CPDF_PageObjectHolder members protected.
Change-Id: Id31b9f6ac33971c47cdb378ff7f9ca7d33f899b9
Reviewed-on: https://pdfium-review.googlesource.com/32112
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/edit')
-rw-r--r-- | core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp b/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp index 92b92ecf01..e9b134fa6b 100644 --- a/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp +++ b/core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp @@ -52,7 +52,7 @@ bool GetColor(const CPDF_Color* pColor, float* rgb) { CPDF_PageContentGenerator::CPDF_PageContentGenerator( CPDF_PageObjectHolder* pObjHolder) - : m_pObjHolder(pObjHolder), m_pDocument(pObjHolder->m_pDocument.Get()) { + : m_pObjHolder(pObjHolder), m_pDocument(pObjHolder->GetDocument()) { for (const auto& pObj : *pObjHolder->GetPageObjectList()) { if (pObj) m_pageObjects.emplace_back(pObj.get()); |