Chromium Code Reviews| 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; |
| }; |