diff options
author | tsepez <tsepez@chromium.org> | 2017-01-23 11:32:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2017-01-23 11:32:36 -0800 |
commit | a0b2d23d1121202d3821291483943a47a3c9e32e (patch) | |
tree | 1b98cf96e6a9c5849c3030a7beba529882a03539 /xfa/fxfa/parser/cxfa_stroke.h | |
parent | c757d9a6f90bb879ce2cdd4a756b7b0e1885eb25 (diff) | |
download | pdfium-a0b2d23d1121202d3821291483943a47a3c9e32e.tar.xz |
Replace CXFA_StrokeArray and CXFA_WidgetArray with std::vector
Review-Url: https://codereview.chromium.org/2648773003
Diffstat (limited to 'xfa/fxfa/parser/cxfa_stroke.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_stroke.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_stroke.h b/xfa/fxfa/parser/cxfa_stroke.h index a3287d2855..cf941c8f0f 100644 --- a/xfa/fxfa/parser/cxfa_stroke.h +++ b/xfa/fxfa/parser/cxfa_stroke.h @@ -21,6 +21,7 @@ class CXFA_Node; class CXFA_Stroke : public CXFA_Data { public: + CXFA_Stroke() : CXFA_Stroke(nullptr) {} explicit CXFA_Stroke(CXFA_Node* pNode) : CXFA_Data(pNode) {} bool IsCorner() const { return GetElementType() == XFA_Element::Corner; } @@ -40,6 +41,4 @@ class CXFA_Stroke : public CXFA_Data { bool SameStyles(CXFA_Stroke stroke, uint32_t dwFlags = 0) const; }; -typedef CFX_ArrayTemplate<CXFA_Stroke> CXFA_StrokeArray; - #endif // XFA_FXFA_PARSER_CXFA_STROKE_H_ |