diff options
author | thestig <thestig@chromium.org> | 2016-11-21 14:54:29 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 14:54:29 -0800 |
commit | 8a5e15d7b16c1c2a99b013fc4f68597cedab4fcf (patch) | |
tree | d6cc32fe926152e521248f57c5c51deb8ba5aa73 /core/fpdfapi/page/cpdf_imageobject.h | |
parent | d88090fb780480217af37273e7abb01ae48e322b (diff) | |
download | pdfium-8a5e15d7b16c1c2a99b013fc4f68597cedab4fcf.tar.xz |
Make CPDF_ImageObject::m_Matrix private.
Review-Url: https://codereview.chromium.org/2514263003
Diffstat (limited to 'core/fpdfapi/page/cpdf_imageobject.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_imageobject.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_imageobject.h b/core/fpdfapi/page/cpdf_imageobject.h index fd99d3d612..2bb1e8233d 100644 --- a/core/fpdfapi/page/cpdf_imageobject.h +++ b/core/fpdfapi/page/cpdf_imageobject.h @@ -32,11 +32,13 @@ class CPDF_ImageObject : public CPDF_PageObject { void SetOwnedImage(std::unique_ptr<CPDF_Image> pImage); void SetUnownedImage(CPDF_Image* pImage); - CFX_Matrix m_Matrix; + void set_matrix(const CFX_Matrix& matrix) { m_Matrix = matrix; } + const CFX_Matrix& matrix() const { return m_Matrix; } private: void Release(); + CFX_Matrix m_Matrix; CPDF_Image* m_pImage; bool m_pImageOwned; }; |