diff options
author | tsepez <tsepez@chromium.org> | 2016-04-29 13:45:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-29 13:45:14 -0700 |
commit | e801d4e064690fbe1815d25d220cfbca79976a4f (patch) | |
tree | c7955761755597d8430b70f2e477d7b7a272f46b /xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h | |
parent | e7ca8ba0f76d175eb89e4cc3aa3aa2743711414e (diff) | |
download | pdfium-e801d4e064690fbe1815d25d220cfbca79976a4f.tar.xz |
Replace CFX_PtrArray with typesafe CFX_ArrayTemplate, part 9
Converted one place to unique_ptr to avoid redundant cleanup.
Review-Url: https://codereview.chromium.org/1937593002
Diffstat (limited to 'xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h')
-rw-r--r-- | xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h b/xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h index dfe6a069d6..f914354124 100644 --- a/xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h +++ b/xfa/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h @@ -9,7 +9,7 @@ class CBC_BarcodeMetadata; class CBC_BoundingBox; -class CBC_DetectionResultRowIndicatorColumn; + class CBC_DetectionResultRowIndicatorColumn : public CBC_DetectionResultColumn { public: CBC_DetectionResultRowIndicatorColumn(CBC_BoundingBox* boundingBox, @@ -26,9 +26,10 @@ class CBC_DetectionResultRowIndicatorColumn : public CBC_DetectionResultColumn { CFX_ByteString toString(); private: - FX_BOOL m_isLeft; - void removeIncorrectCodewords(CFX_PtrArray* codewords, + void removeIncorrectCodewords(CFX_ArrayTemplate<CBC_Codeword*>* codewords, CBC_BarcodeMetadata barcodeMetadata); + + FX_BOOL m_isLeft; }; #endif // XFA_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTROWINDICATORCOLUMN_H_ |