summaryrefslogtreecommitdiff
path: root/xfa/fxgraphics/include
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-24 13:26:07 -0500
committerdsinclair <dsinclair@chromium.org>2017-01-24 18:32:02 +0000
commit75c2af49705f99267ef74e742d536c7327aeb452 (patch)
tree44e90a7c4ba97ed9c11740c52fa3b8d455475334 /xfa/fxgraphics/include
parentca6af90493d76b417824b0322be68e71d00cad41 (diff)
downloadpdfium-chromium/2924.tar.xz
[Merge M56] Add ObservedPtrs to PWL_CREATEPARAMchromium/2924
It's possible for both the provider and attached widget to be destroyed before the PWL_CREATEPARAM objects which point to them. This causes issues when those widgets access their attached widget or provider. This CL wraps the pAttachedWidget and pProvider into ObservedPtrs so we will know if the underlying pointer has gone away. In order to merge I also had to add observed ptr copy and assign methods. BUG=chromium:681351 Change-Id: Ic297753b5d020c5d9401cb3ff4d541b2498346e4 Reviewed-on: https://pdfium-review.googlesource.com/2351 Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxgraphics/include')
0 files changed, 0 insertions, 0 deletions