Index: core/fpdfapi/page/cpdf_imageobject.h |
diff --git a/core/fpdfapi/page/cpdf_imageobject.h b/core/fpdfapi/page/cpdf_imageobject.h |
index fd99d3d6122ecc0f96f9de9e0b73ee1701dea408..2bb1e8233dd5a34d73ce15b1e23f9c735a8daedf 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; |
}; |