| Index: xfa/fxfa/parser/cxfa_widgetdata.cpp
|
| diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp
|
| index 80c50b781e057535b7af95cf079a472aee46022a..8d8e6248f8a00e7942854948ff7e27a67d3a4993 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)
|
|
|