diff options
author | tsepez <tsepez@chromium.org> | 2016-04-28 15:16:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-28 15:16:51 -0700 |
commit | 33a747db5c9ce18bdfaaaaea17b03ef26d14ff54 (patch) | |
tree | 9d8249844ea44f432891ffa67d7bca51bdb1f033 /xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h | |
parent | 18713d20e080c344e0ed09e3f0ac5bacb0645fc5 (diff) | |
download | pdfium-33a747db5c9ce18bdfaaaaea17b03ef26d14ff54.tar.xz |
Replace CFX_PtrArray with typesafe CFX_ArrayTemplate, Part 5
Remove unused m_pdf417byteSegments, which was coped into from
an empty array and never again referenced.
Review-Url: https://codereview.chromium.org/1927253002
Diffstat (limited to 'xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h')
-rw-r--r-- | xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h b/xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h index 1091d6723d..6d0cb60f2f 100644 --- a/xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h +++ b/xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h @@ -12,17 +12,19 @@ class CBC_QRFinderPattern; class CBC_QRFinderPatternInfo { + public: + explicit CBC_QRFinderPatternInfo( + CFX_ArrayTemplate<CBC_QRFinderPattern*>* patternCenters); + ~CBC_QRFinderPatternInfo(); + + CBC_QRFinderPattern* GetBottomLeft() const; + CBC_QRFinderPattern* GetTopLeft() const; + CBC_QRFinderPattern* GetTopRight() const; + private: CBC_QRFinderPattern* m_bottomLeft; CBC_QRFinderPattern* m_topLeft; CBC_QRFinderPattern* m_topRight; - - public: - CBC_QRFinderPatternInfo(CFX_PtrArray* patternCenters); - virtual ~CBC_QRFinderPatternInfo(); - CBC_QRFinderPattern* GetBottomLeft(); - CBC_QRFinderPattern* GetTopLeft(); - CBC_QRFinderPattern* GetTopRight(); }; #endif // XFA_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ |