diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-07-03 21:19:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-03 21:19:36 +0000 |
commit | 94f7b75b4d5d1988e599ed4a9a7b6cf451994f1d (patch) | |
tree | 07ca359834ff9be154b84bad91408bd327f241ac /fxjs/cfxjse_engine.cpp | |
parent | 57e594f047f86bfa4d26864e993ce330ad66bfcd (diff) | |
download | pdfium-94f7b75b4d5d1988e599ed4a9a7b6cf451994f1d.tar.xz |
Use unowned ptr to Node from outside XFA node tree.chromium/3481
Change-Id: Idcd992224fc5411c97f3001293af83a6c581e695
Reviewed-on: https://pdfium-review.googlesource.com/36991
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_engine.cpp')
-rw-r--r-- | fxjs/cfxjse_engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cfxjse_engine.cpp b/fxjs/cfxjse_engine.cpp index 78b152b9dd..9b54555a21 100644 --- a/fxjs/cfxjse_engine.cpp +++ b/fxjs/cfxjse_engine.cpp @@ -624,7 +624,7 @@ bool CFXJSE_Engine::ResolveObjects(CXFA_Object* refObject, dwStyles |= XFA_RESOLVENODE_Bind; findObjects.clear(); findObjects.push_back( - m_ResolveProcessor->GetNodeHelper()->m_pAllStartParent); + m_ResolveProcessor->GetNodeHelper()->m_pAllStartParent.Get()); continue; } break; @@ -724,7 +724,7 @@ bool CFXJSE_Engine::ResolveObjects(CXFA_Object* refObject, XFA_RESOLVENODE_BindNew)) { CXFA_NodeHelper* helper = m_ResolveProcessor->GetNodeHelper(); if (helper->m_pCreateParent) - resolveNodeRS->objects.push_back(helper->m_pCreateParent); + resolveNodeRS->objects.push_back(helper->m_pCreateParent.Get()); else helper->CreateNode_ForCondition(rndFind.m_wsCondition); |