diff options
author | Lei Zhang <thestig@chromium.org> | 2017-11-02 21:14:48 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 21:14:48 +0000 |
commit | c130381fd038893c1ee62a34648764d39d138b2c (patch) | |
tree | bd302874eba914154a58ed29b3753ff04205d193 /core/fpdfapi/page/cpdf_pageobjectholder.h | |
parent | 638c764a3312f8387bdb5b2b2f2fabefbfcbc57f (diff) | |
download | pdfium-c130381fd038893c1ee62a34648764d39d138b2c.tar.xz |
Encapsulate CPDF_FormObject members.
Also remove a conditional in the CPDF_Form ctor that cannot be true.
Change-Id: Icd00233969cea33e9c63d0d6a9d07226c2b173f2
Reviewed-on: https://pdfium-review.googlesource.com/17070
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_pageobjectholder.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_pageobjectholder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_pageobjectholder.h b/core/fpdfapi/page/cpdf_pageobjectholder.h index 1a8b1aae38..f649ef7b62 100644 --- a/core/fpdfapi/page/cpdf_pageobjectholder.h +++ b/core/fpdfapi/page/cpdf_pageobjectholder.h @@ -71,7 +71,7 @@ class CPDF_PageObjectHolder { void Transform(const CFX_Matrix& matrix); CFX_FloatRect CalcBoundingBox() const; - UnownedPtr<CPDF_Dictionary> m_pFormDict; + const UnownedPtr<CPDF_Dictionary> m_pFormDict; UnownedPtr<CPDF_Stream> m_pFormStream; UnownedPtr<CPDF_Document> m_pDocument; UnownedPtr<CPDF_Dictionary> m_pPageResources; |