summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/include/cfx_graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxgraphics/include/cfx_graphics.h')
-rw-r--r--xfa/fxgraphics/include/cfx_graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxgraphics/include/cfx_graphics.h b/xfa/fxgraphics/include/cfx_graphics.h
index 916fba57c7..e581089aec 100644
--- a/xfa/fxgraphics/include/cfx_graphics.h
+++ b/xfa/fxgraphics/include/cfx_graphics.h
@@ -7,6 +7,8 @@
#ifndef XFA_FXGRAPHICS_INCLUDE_CFX_GRAPHICS_H_
#define XFA_FXGRAPHICS_INCLUDE_CFX_GRAPHICS_H_
+#include <memory>
+
#include "core/fxcrt/include/fx_system.h"
#include "core/fxge/include/fx_dib.h"
#include "core/fxge/include/fx_ge.h"
@@ -230,7 +232,7 @@ class CFX_Graphics {
CFX_RenderDevice* m_renderDevice;
CFX_ArrayTemplate<TInfo*> m_infoStack;
- CAGG_Graphics* m_aggGraphics;
+ std::unique_ptr<CAGG_Graphics> m_aggGraphics;
friend class CAGG_Graphics;
};