diff options
author | dsinclair <dsinclair@chromium.org> | 2016-07-18 13:14:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-18 13:14:49 -0700 |
commit | 34965459f4f53a77f6c925292304eface57d12c6 (patch) | |
tree | 788cb62af316f8b5c5d520583eaa0313dd48144e /xfa/fde/fde_iterator.cpp | |
parent | aae4566ee8b2eaffb182861047c466ed1ec04902 (diff) | |
download | pdfium-34965459f4f53a77f6c925292304eface57d12c6.tar.xz |
Cleanup fgas/crt.
This CL removes unused methods and default parameters from the fgas/crt code.
Review-Url: https://codereview.chromium.org/2162503003
Diffstat (limited to 'xfa/fde/fde_iterator.cpp')
-rw-r--r-- | xfa/fde/fde_iterator.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fde/fde_iterator.cpp b/xfa/fde/fde_iterator.cpp index 6e8ca0061a..a51b8ad90a 100644 --- a/xfa/fde/fde_iterator.cpp +++ b/xfa/fde/fde_iterator.cpp @@ -8,16 +8,17 @@ #include "xfa/fgas/crt/fgas_utils.h" -CFDE_VisualSetIterator::CFDE_VisualSetIterator() : m_dwFilter(0) {} +CFDE_VisualSetIterator::CFDE_VisualSetIterator() + : m_dwFilter(0), m_CanvasStack(100) {} CFDE_VisualSetIterator::~CFDE_VisualSetIterator() { - m_CanvasStack.RemoveAll(); + m_CanvasStack.RemoveAll(FALSE); } FX_BOOL CFDE_VisualSetIterator::AttachCanvas(IFDE_CanvasSet* pCanvas) { ASSERT(pCanvas); - m_CanvasStack.RemoveAll(); + m_CanvasStack.RemoveAll(FALSE); FDE_CANVASITEM canvas; canvas.hCanvas = nullptr; canvas.pCanvas = pCanvas; |