diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-14 21:12:42 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-14 21:12:42 +0000 |
commit | c4ffab7a2308dabdc2ba1355902d94f7cc3b2d8f (patch) | |
tree | ab6c7d500bc91072259959434ce5636ab82edbfb /fxjs/cjs_util.cpp | |
parent | a9eabe43437871b7b5f5569f0e3e1b9b3e01cedf (diff) | |
download | pdfium-c4ffab7a2308dabdc2ba1355902d94f7cc3b2d8f.tar.xz |
Fix lifetime probe issue in CJX_Objectchromium/3348
This CL removes the UnownedPtr to the CXFA_LayoutItem from CJX_Object.
This is because the CJX_Object will be destroyed by the CXFA_Node which
is destroyed in the CXFA_Document destructor (due to the vector of
unique_ptr being destroyed). The CXFA_LayoutItem will be freed in the
LayoutProcessor which also lives in the CXFA_Document.
Bug: chromium:807215
Change-Id: I86040e154ee2e5d461fc4d3565a10a9181680207
Reviewed-on: https://pdfium-review.googlesource.com/26851
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjs_util.cpp')
0 files changed, 0 insertions, 0 deletions