diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-08-23 19:53:08 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-23 19:53:08 +0000 |
commit | 8ce49f8f25e993a31e6abe9e656784abbff0650f (patch) | |
tree | f50de084ba32e02b883a6441512a987ebbfcfeed /fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp | |
parent | 4c47285aab728b7f30ca98cff6593aab57de4077 (diff) | |
download | pdfium-8ce49f8f25e993a31e6abe9e656784abbff0650f.tar.xz |
Swap width and height params in CBC_BarcodeMatrix constructor.
Change-Id: I74f3a147914c6483e7d443cff70e09115c424ca5
Reviewed-on: https://pdfium-review.googlesource.com/41091
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp')
-rw-r--r-- | fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp b/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp index 32db82e3d4..1d05486f30 100644 --- a/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp +++ b/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp @@ -24,7 +24,7 @@ #include "fxbarcode/pdf417/BC_PDF417BarcodeRow.h" #include "third_party/base/ptr_util.h" -CBC_BarcodeMatrix::CBC_BarcodeMatrix(size_t height, size_t width) +CBC_BarcodeMatrix::CBC_BarcodeMatrix(size_t width, size_t height) : m_width((width + 4) * 17 + 1), m_height(height) { m_matrix.resize(m_height); for (size_t i = 0; i < m_height; ++i) |