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

Unified Diff: xfa/fde/fde_object.h

Issue 1866333003: Remove IFDE_Image, IFDE_PathSet, IFDE_ImageSet, and IFDE_WidgetSet. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix bug_434 Created 4 years, 8 months 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
Index: xfa/fde/fde_object.h
diff --git a/xfa/fde/fde_object.h b/xfa/fde/fde_object.h
index e222b1a56262d26f4f4ddd66fd845a62601153f1..bed05ddf261703de56eee380e628ebdc0769e071 100644
--- a/xfa/fde/fde_object.h
+++ b/xfa/fde/fde_object.h
@@ -155,7 +155,7 @@ class CFDE_HatchBrush : public IFDE_HatchBrush, public CFX_Target {
};
class CFDE_TextureBrush : public IFDE_TextureBrush, public CFX_Target {
public:
- CFDE_TextureBrush() : m_iWrap(0), m_pImage(NULL), m_bAutoRelease(FALSE) {
+ CFDE_TextureBrush() : m_iWrap(0), m_bAutoRelease(FALSE) {
m_Matrix.SetIdentity();
}
@@ -172,15 +172,10 @@ class CFDE_TextureBrush : public IFDE_TextureBrush, public CFX_Target {
m_Matrix.Concat(matrix);
}
virtual void SetMatrix(const CFX_Matrix& matrix) { m_Matrix = matrix; }
- virtual IFDE_Image* GetImage() const { return m_pImage; }
- virtual void SetImage(IFDE_Image* pImage, FX_BOOL bAutoRelease) {
- m_pImage = pImage;
- m_bAutoRelease = bAutoRelease;
- }
+
virtual int32_t GetWrapMode() const { return m_iWrap; }
virtual void SetWrapMode(int32_t iWrapMode) { m_iWrap = iWrapMode; }
int32_t m_iWrap;
- IFDE_Image* m_pImage;
FX_BOOL m_bAutoRelease;
Tom Sepez 2016/04/12 16:50:42 do we still need m_bAutoRelease?
dsinclair 2016/04/12 16:57:49 Class removed.
CFX_Matrix m_Matrix;
};
« xfa/fde/fde_gedevice.cpp ('K') | « xfa/fde/fde_iterator.cpp ('k') | xfa/fde/fde_render.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698