Index: xfa/fxfa/parser/cxfa_widgetdata.cpp |
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp |
index 31c5cf48e6c9080f684b234b0a7fd988acfca0a3..e77fa55d501826e4a599b22bb50749ed58583ab9 100644 |
--- a/xfa/fxfa/parser/cxfa_widgetdata.cpp |
+++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp |
@@ -18,7 +18,7 @@ |
namespace { |
-FX_FLOAT GetEdgeThickness(const CXFA_StrokeArray& strokes, |
+FX_FLOAT GetEdgeThickness(const std::vector<CXFA_Stroke>& strokes, |
bool b3DStyle, |
int32_t nIndex) { |
FX_FLOAT fThickness = 0; |
@@ -431,8 +431,8 @@ CFX_RectF CXFA_WidgetData::GetUIMargin() { |
FX_FLOAT fThickness = 0; |
border.Get3DStyle(bVisible, fThickness); |
if (!bLeft || !bTop || !bRight || !bBottom) { |
- CXFA_StrokeArray strokes; |
- border.GetStrokes(strokes); |
+ std::vector<CXFA_Stroke> strokes; |
+ border.GetStrokes(&strokes); |
if (!bTop) |
fTopInset = GetEdgeThickness(strokes, bVisible, 0); |
if (!bRight) |