diff options
author | Nicolas Pena <npm@chromium.org> | 2017-03-27 14:24:34 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-27 18:42:14 +0000 |
commit | 48a2fac4f04a56d2e1cd7b2e61069fd06d39c1a9 (patch) | |
tree | 8b28bbc1d9c8ae4f26f14ad07a1522ea155e9415 /test | |
parent | 43c195016f9c2e38654a484f9472c138b92d3ec3 (diff) | |
download | pdfium-48a2fac4f04a56d2e1cd7b2e61069fd06d39c1a9.tar.xz |
Fix some ASAN issues in fx_skia_device
- Flush is needed in ~CFX_FxgeDevice, otherwise it may be called after deleting
the bitmap, when calling the destructor of the skia device driver.
- SkDashPathEffect::Make copies the given intervals instead of owning them, so
free the input to that method.
- If StartDIBits creates a new CFX_ImageRenderer, then the corresponding
CancelDIBits needs to delete the handle.
Bug: chromium:705131
Change-Id: I22c7c51a4070e73538eb8af51a60afeaa67f8bb7
Reviewed-on: https://pdfium-review.googlesource.com/3230
Commit-Queue: Nicolás Peña <npm@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions