diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-07-02 19:16:43 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-02 19:16:43 +0000 |
commit | 319ef06b2f695c7ebc26985d477b71fe8db93d3e (patch) | |
tree | 368c89c31a743c3d5e9c7fe1cc4a1eaacb2ee5c0 /xfa | |
parent | e353d72449a9298410dc479bf27410d83e56b215 (diff) | |
download | pdfium-319ef06b2f695c7ebc26985d477b71fe8db93d3e.tar.xz |
Add pdfium::Vector2D<>()
Many of the FX_Alloc's that have not been converted to std::vector
are using FX_Alloc2D and the safe math it performs under the covers.
Make an equivalent function for returning a vector to avoid burdening
callers with the safe math equivalents.
Use it in one place.
Change-Id: Ie4a280351b7370b755f2a1928f8b2d84fe007c03
Reviewed-on: https://pdfium-review.googlesource.com/36770
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa')
0 files changed, 0 insertions, 0 deletions