diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-07 23:28:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-07 23:28:36 +0000 |
commit | 4c31a13a704850fdf301fb561ba966baa3c7c29c (patch) | |
tree | 6d7a7d667008b673d0ccb8047392956b9e8cb32d /core/fpdfapi/page/cpdf_pageobjectholder.cpp | |
parent | 0cc77c9ef74f527a6887d9a2e8ebcb6412615f30 (diff) | |
download | pdfium-4c31a13a704850fdf301fb561ba966baa3c7c29c.tar.xz |
Make CPDF_PageObjectHolder::m_iTransparency protected.
Also initialize members in the header.
Change-Id: Id814c4c5042c9d4989fa92b78f68c17f4949f09d
Reviewed-on: https://pdfium-review.googlesource.com/32111
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_pageobjectholder.cpp')
-rw-r--r-- | core/fpdfapi/page/cpdf_pageobjectholder.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/fpdfapi/page/cpdf_pageobjectholder.cpp b/core/fpdfapi/page/cpdf_pageobjectholder.cpp index 06fb3f26ea..5bf627ace3 100644 --- a/core/fpdfapi/page/cpdf_pageobjectholder.cpp +++ b/core/fpdfapi/page/cpdf_pageobjectholder.cpp @@ -16,14 +16,7 @@ CPDF_PageObjectHolder::CPDF_PageObjectHolder(CPDF_Document* pDoc, CPDF_Dictionary* pFormDict) - : m_pFormDict(pFormDict), - m_pFormStream(nullptr), - m_pDocument(pDoc), - m_pPageResources(nullptr), - m_pResources(nullptr), - m_iTransparency(0), - m_bBackgroundAlphaNeeded(false), - m_ParseState(CONTENT_NOT_PARSED) { + : m_pFormDict(pFormDict), m_pDocument(pDoc) { // TODO(thestig): Check if |m_pFormDict| is never a nullptr and simplify // callers that checks for that. } |