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

Unified Diff: core/fxge/win32/cfx_psrenderer.h

Issue 2618373003: Remove CFX_ArrayTemplate in cfx_psrender. (Closed)
Patch Set: rebase Created 3 years, 11 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 | « no previous file | core/fxge/win32/cfx_psrenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/win32/cfx_psrenderer.h
diff --git a/core/fxge/win32/cfx_psrenderer.h b/core/fxge/win32/cfx_psrenderer.h
index c70708a5a44c9a32fcf65fc817868d8b18c67621..e941739f44cad4890921f446b9e0e3566b216767 100644
--- a/core/fxge/win32/cfx_psrenderer.h
+++ b/core/fxge/win32/cfx_psrenderer.h
@@ -7,6 +7,9 @@
#ifndef CORE_FXGE_WIN32_CFX_PSRENDERER_H_
#define CORE_FXGE_WIN32_CFX_PSRENDERER_H_
+#include <memory>
+#include <vector>
+
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxge/cfx_graphstatedata.h"
@@ -90,8 +93,8 @@ class CFX_PSRenderer {
bool m_bColorSet;
uint32_t m_LastColor;
FX_RECT m_ClipBox;
- CFX_ArrayTemplate<CPSFont*> m_PSFontList;
- CFX_ArrayTemplate<FX_RECT> m_ClipBoxStack;
+ std::vector<std::unique_ptr<CPSFont>> m_PSFontList;
+ std::vector<FX_RECT> m_ClipBoxStack;
bool m_bInited;
};
« no previous file with comments | « no previous file | core/fxge/win32/cfx_psrenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698