diff options
author | Oliver Chang <ochang@chromium.org> | 2015-10-30 12:59:29 -0700 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2015-10-30 12:59:29 -0700 |
commit | 972b78dbde75ee8434f134da9d364bca926c4a8a (patch) | |
tree | 277d8acc5c4a01a03f881187dff099a86ea612a9 /third_party/libjpeg/fpdfapi_jdmarker.c | |
parent | f71d1e2295bc3d229a20e480c9da9265d2623eff (diff) | |
download | pdfium-972b78dbde75ee8434f134da9d364bca926c4a8a.tar.xz |
Merge to XFA: Rip out the KillFocusAnnot call from CPDFSDK_PageView's destructor
Previously, blur event actions could potentially touch deleted PageViews
as CPDFSDK_Document deletes the PageViews one by one.
This also fixes a related issue: CPDFSDK_Document::SetFocusAnnot no
longer does anything if the document is being destroyed. Otherwise, it
eventually tries to use m_pEnv->GetSDKDocument() at which point has
already been set to NULL by FPDFDOC_ExitFormFillEnvironment.
TBR=tsepez@chromium.org
BUG=512445
Clean merge.
Review URL: https://codereview.chromium.org/1414353007 .
(cherry picked from commit a548b1d3e2444f256bcbf6c2fa2165798e33ba8d)
Review URL: https://codereview.chromium.org/1423343004 .
Diffstat (limited to 'third_party/libjpeg/fpdfapi_jdmarker.c')
0 files changed, 0 insertions, 0 deletions