Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1958)

Unified Diff: xfa/include/fwl/lightwidget/theme.h

Issue 1672283002: Remove CFX_PtrArray from xfa/include/fwl (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/include/fwl/lightwidget/listbox.h ('k') | xfa/include/fwl/theme/widgettp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/include/fwl/lightwidget/theme.h
diff --git a/xfa/include/fwl/lightwidget/theme.h b/xfa/include/fwl/lightwidget/theme.h
index 75a60dc9fedb31d5c771bf65cf4ceffab0b1a218..824cacebc7e5974daec37afca9224b95e8e6f3b2 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_
« no previous file with comments | « xfa/include/fwl/lightwidget/listbox.h ('k') | xfa/include/fwl/theme/widgettp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698