summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/lightwidget/theme.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-08 09:34:35 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-08 09:34:35 -0800
commitddf2f339f603246107451931d16245c8b7d1d7c4 (patch)
tree94350b986e9b31f6246616ca08a77e16c9cbc581 /xfa/include/fwl/lightwidget/theme.h
parent22e659117f4302718e5bb82f7c74251bf032be4d (diff)
downloadpdfium-ddf2f339f603246107451931d16245c8b7d1d7c4.tar.xz
Remove CFX_PtrArray from xfa/include/fwl
Fix IWYU in stl_util.h R=thestig@chromium.org Review URL: https://codereview.chromium.org/1672283002 .
Diffstat (limited to 'xfa/include/fwl/lightwidget/theme.h')
-rw-r--r--xfa/include/fwl/lightwidget/theme.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/xfa/include/fwl/lightwidget/theme.h b/xfa/include/fwl/lightwidget/theme.h
index 75a60dc9fe..824cacebc7 100644
--- a/xfa/include/fwl/lightwidget/theme.h
+++ b/xfa/include/fwl/lightwidget/theme.h
@@ -4,8 +4,11 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _FWL_THEME_LIGHT_H
-#define _FWL_THEME_LIGHT_H
+#ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_
+#define XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_
+
+#include <memory>
+#include <vector>
#include "xfa/include/fwl/core/fwl_theme.h"
@@ -45,6 +48,7 @@ class CFWL_Theme : public IFWL_ThemeProvider {
CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget);
protected:
- CFX_PtrArray m_arrThemes;
+ std::vector<std::unique_ptr<CFWL_WidgetTP>> m_ThemesArray;
};
-#endif
+
+#endif // XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_