From 4a21114e3a95d3798c5027de33b8e90550fc0eb7 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 1 Mar 2017 14:41:25 -0800 Subject: Use std::deque for CFX_TPOArray They both encompass the same concept: a segmented array that can grow without copying. Change-Id: Ifc02207385b1bc106df41932c7b78ec2e9cc2146 Reviewed-on: https://pdfium-review.googlesource.com/2894 Reviewed-by: dsinclair Commit-Queue: dsinclair --- xfa/fgas/layout/fgas_rtfbreak.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/fgas/layout/fgas_rtfbreak.h') diff --git a/xfa/fgas/layout/fgas_rtfbreak.h b/xfa/fgas/layout/fgas_rtfbreak.h index 2b6c2cf19f..4d999ec682 100644 --- a/xfa/fgas/layout/fgas_rtfbreak.h +++ b/xfa/fgas/layout/fgas_rtfbreak.h @@ -7,6 +7,7 @@ #ifndef XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ #define XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ +#include #include #include "core/fxcrt/cfx_retain_ptr.h" @@ -14,7 +15,6 @@ #include "core/fxcrt/fx_ucd.h" #include "xfa/fgas/crt/fgas_utils.h" #include "xfa/fgas/layout/fgas_textbreak.h" -#include "xfa/fgas/layout/fgas_unicode.h" class CFGAS_GEFont; @@ -195,8 +195,8 @@ class CFX_RTFBreak { bool EndBreak_SplitLine(CFX_RTFLine* pNextLine, bool bAllChars, CFX_RTFBreakType dwStatus); - void EndBreak_BidiLine(CFX_TPOArray* tpos, CFX_RTFBreakType dwStatus); - void EndBreak_Alignment(const CFX_TPOArray& tpos, + void EndBreak_BidiLine(std::deque* tpos, CFX_RTFBreakType dwStatus); + void EndBreak_Alignment(const std::deque& tpos, bool bAllChars, CFX_RTFBreakType dwStatus); -- cgit v1.2.3