diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-08-22 22:26:06 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-22 22:26:06 +0000 |
commit | 98982a8aacd93769162e567cdc129a598bcbe8d9 (patch) | |
tree | 5f5f0b4e63914960d08093371c92b986272f18fc /fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h | |
parent | 81e0830e67344ffd7c7eb98055c892fb748db5c4 (diff) | |
download | pdfium-98982a8aacd93769162e567cdc129a598bcbe8d9.tar.xz |
Remove m_currentRow from the state of CBC_BarcodeMatrix.
Change-Id: I2003d32f3f6972c0102b37ad545316a76b09fd1f
Reviewed-on: https://pdfium-review.googlesource.com/41030
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h')
-rw-r--r-- | fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h b/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h index badb0ce3cd..bee2ef9cb9 100644 --- a/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h +++ b/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h @@ -17,16 +17,14 @@ class CBC_BarcodeMatrix { CBC_BarcodeMatrix(size_t height, size_t width); virtual ~CBC_BarcodeMatrix(); - CBC_BarcodeRow* getCurrentRow() const { return m_matrix[m_currentRow].get(); } + CBC_BarcodeRow* getRow(size_t row) const { return m_matrix[row].get(); } size_t getWidth() const { return m_width; } size_t getHeight() const { return m_height; } - void nextRow(); std::vector<uint8_t>& getMatrix(); private: std::vector<std::unique_ptr<CBC_BarcodeRow>> m_matrix; std::vector<uint8_t> m_matrixOut; - size_t m_currentRow = 0; size_t m_width; size_t m_height; }; |