summaryrefslogtreecommitdiff
path: root/skia
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-08-31 10:51:20 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-31 10:51:20 -0700
commitfc9b11358a47e1dd9b257263c9457d7e53b9dd10 (patch)
tree6113ee84dfe056551380102f53c58b6ff0ed3e1c /skia
parentca90b8742ac780d492f96181bdd52b8d9c17a227 (diff)
downloadpdfium-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 'skia')
0 files changed, 0 insertions, 0 deletions