diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-01-05 13:57:58 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-05 21:18:36 +0000 |
commit | 7855a2c57745c8f81ce410e6af0e4068fa2e8967 (patch) | |
tree | 1665c5fb69a504eafc6add770cad92d742e8d80d /core/fxcodec/lbmp/fx_bmp.cpp | |
parent | e647799f6a2f7f747c9f55d9f0ce08dcdfbd53f4 (diff) | |
download | pdfium-7855a2c57745c8f81ce410e6af0e4068fa2e8967.tar.xz |
Cleaning up memory allocation in CXFA_FM2JSContext - Ichromium/2974
This CL updates ::ParseResolveResult to accept a
std::vector<std::unique_ptr<CFXJSE_Value>>& instead of a CFXJSE_Value**&. This
removes a bunch of manual new/delete code used to mantain the values.
The size parameter was also removed and is retrieved by calling .size() on the
vector now.
Change-Id: I60fc6176523ece112d41fdefc767aaefedfae2db
Reviewed-on: https://pdfium-review.googlesource.com/2153
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcodec/lbmp/fx_bmp.cpp')
0 files changed, 0 insertions, 0 deletions