summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/cfx_graphics.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-01-30 14:49:24 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-01-31 00:42:43 +0000
commit51d02b341dd56f8e365444cb9e4af7e0ffe55ae5 (patch)
tree616f11f803bc067eecc2c2c94684b3062a190221 /xfa/fxgraphics/cfx_graphics.h
parent02d83e1f963f56f61de670161e12ffb131c56d7b (diff)
downloadpdfium-51d02b341dd56f8e365444cb9e4af7e0ffe55ae5.tar.xz
use std::vector in cfx_graphics.h and xfa_ffwidget.h
Change-Id: I19f2e729b58de42506e8fc2811dd06d406470314 Reviewed-on: https://pdfium-review.googlesource.com/2470 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxgraphics/cfx_graphics.h')
-rw-r--r--xfa/fxgraphics/cfx_graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxgraphics/cfx_graphics.h b/xfa/fxgraphics/cfx_graphics.h
index e18564bf6d..48784254b0 100644
--- a/xfa/fxgraphics/cfx_graphics.h
+++ b/xfa/fxgraphics/cfx_graphics.h
@@ -8,6 +8,7 @@
#define XFA_FXGRAPHICS_CFX_GRAPHICS_H_
#include <memory>
+#include <vector>
#include "core/fxcrt/fx_system.h"
#include "core/fxge/cfx_fxgedevice.h"
@@ -233,7 +234,7 @@ class CFX_Graphics {
CFX_RectF& rect);
CFX_RenderDevice* m_renderDevice;
- CFX_ArrayTemplate<TInfo*> m_infoStack;
+ std::vector<std::unique_ptr<TInfo>> m_infoStack;
std::unique_ptr<CAGG_Graphics> m_aggGraphics;
friend class CAGG_Graphics;
};