Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: core/fpdfapi/page/cpdf_imageobject.h

Issue 2514263003: Make CPDF_ImageObject::m_Matrix private. (Closed)
Patch Set: nit Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfapi/font/cpdf_type3char.cpp ('k') | core/fpdfapi/page/cpdf_streamcontentparser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « core/fpdfapi/font/cpdf_type3char.cpp ('k') | core/fpdfapi/page/cpdf_streamcontentparser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698