summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_themebackground.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_themebackground.h')
-rw-r--r--xfa/fwl/cfwl_themebackground.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fwl/cfwl_themebackground.h b/xfa/fwl/cfwl_themebackground.h
index 85435aa524..37103ae01a 100644
--- a/xfa/fwl/cfwl_themebackground.h
+++ b/xfa/fwl/cfwl_themebackground.h
@@ -7,6 +7,7 @@
#ifndef XFA_FWL_CFWL_THEMEBACKGROUND_H_
#define XFA_FWL_CFWL_THEMEBACKGROUND_H_
+#include "core/fxcrt/unowned_ptr.h"
#include "xfa/fwl/cfwl_themepart.h"
class CXFA_Graphics;
@@ -17,13 +18,12 @@ class CFWL_ThemeBackground : public CFWL_ThemePart {
CFWL_ThemeBackground();
~CFWL_ThemeBackground();
- CXFA_Graphics* m_pGraphics;
- CXFA_GEPath* m_pPath;
+ UnownedPtr<CXFA_Graphics> m_pGraphics;
+ UnownedPtr<CXFA_GEPath> m_pPath;
};
-inline CFWL_ThemeBackground::CFWL_ThemeBackground()
- : m_pGraphics(nullptr), m_pPath(nullptr) {}
+inline CFWL_ThemeBackground::CFWL_ThemeBackground() = default;
-inline CFWL_ThemeBackground::~CFWL_ThemeBackground() {}
+inline CFWL_ThemeBackground::~CFWL_ThemeBackground() = default;
#endif // XFA_FWL_CFWL_THEMEBACKGROUND_H_