diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-06-29 21:54:09 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-29 21:54:09 +0000 |
commit | 0894dc84013cd6a814136ccd40f585fc2eb895f3 (patch) | |
tree | 94c24550d43acc7f5f83e135a0a29ded680e7177 /fxjs/xfa | |
parent | 81fcde731fe44ef5a11748536a2d6404906c80ff (diff) | |
download | pdfium-0894dc84013cd6a814136ccd40f585fc2eb895f3.tar.xz |
Use UnownedPtr to CXFA_Node from outside the treechromium/3477
Comment raw pointers subject to nondeterministic tree destruction
order as such to avoid re-attempting to convert to the unowned
mechanism.
Change-Id: Ia9fe3c8a2729dc1e2b1de4a8c62ae3d2c3d7ec0a
Reviewed-on: https://pdfium-review.googlesource.com/36635
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs/xfa')
-rw-r--r-- | fxjs/xfa/cjx_eventpseudomodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_eventpseudomodel.cpp b/fxjs/xfa/cjx_eventpseudomodel.cpp index 2211905223..a1457432f9 100644 --- a/fxjs/xfa/cjx_eventpseudomodel.cpp +++ b/fxjs/xfa/cjx_eventpseudomodel.cpp @@ -188,7 +188,7 @@ CJS_Return CJX_EventPseudoModel::emit( if (!pWidgetHandler) return CJS_Return(); - pWidgetHandler->ProcessEvent(pEventParam->m_pTarget, pEventParam); + pWidgetHandler->ProcessEvent(pEventParam->m_pTarget.Get(), pEventParam); return CJS_Return(); } |