diff options
author | npm <npm@chromium.org> | 2016-08-31 10:51:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-31 10:51:20 -0700 |
commit | fc9b11358a47e1dd9b257263c9457d7e53b9dd10 (patch) | |
tree | 6113ee84dfe056551380102f53c58b6ff0ed3e1c /.clang-format | |
parent | ca90b8742ac780d492f96181bdd52b8d9c17a227 (diff) | |
download | pdfium-fc9b11358a47e1dd9b257263c9457d7e53b9dd10.tar.xz |
Move maxNumDataBytes and maxNumEcBytes calculation to fix crash
The blocks.Add will std::move the unique_ptrs, so the std::max calculations
need to go before. Without this change, pdfium_test will crash when trying
to render test/barcode_test.pdf with XFA enabled.
Tested that after this change, barcode_test.pdf is rendered without crashing.
Review-Url: https://codereview.chromium.org/2298833002
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions