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

Unified Diff: xfa/fxfa/app/xfa_textlayout.h

Issue 2567503002: Replace CFX_FloatArray with std::vector (Closed)
Patch Set: rebase, vector.h Created 4 years 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
Index: xfa/fxfa/app/xfa_textlayout.h
diff --git a/xfa/fxfa/app/xfa_textlayout.h b/xfa/fxfa/app/xfa_textlayout.h
index b299f52904dd435e11736f84820da8c09c4e9b4c..26bd1634ee7669d0bc2de70977fb8dd152e78989 100644
--- a/xfa/fxfa/app/xfa_textlayout.h
+++ b/xfa/fxfa/app/xfa_textlayout.h
@@ -9,6 +9,7 @@
#include <map>
#include <memory>
+#include <vector>
#include "xfa/fde/css/fde_css.h"
#include "xfa/fde/fde_gedevice.h"
@@ -155,7 +156,7 @@ class CXFA_LoaderContext {
IFDE_CSSComputedStyle* m_pParentStyle;
CFX_ArrayTemplate<FX_FLOAT> m_lineHeights;
uint32_t m_dwFlags;
- CFX_FloatArray m_BlocksHeight;
+ std::vector<FX_FLOAT> m_BlocksHeight;
};
class CXFA_LinkUserData : public IFX_Retainable, public CFX_Target {

Powered by Google App Engine
This is Rietveld 408576698