diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-01 18:56:07 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-01 18:56:07 +0000 |
commit | 1bc5e494b675aeb5e73cae1d0d3cfad341a05a60 (patch) | |
tree | f6b757d623c873dc981e8ed007aba6294af7bae1 /xfa/fxfa/parser | |
parent | 46ad7f84cfeef009a4f5e4bc13f8b3435f789f30 (diff) | |
download | pdfium-1bc5e494b675aeb5e73cae1d0d3cfad341a05a60.tar.xz |
Add CJX_ThisProxy
This CL creates a CJX_ThisProxy which is created by CXFA_ThisProxy. This
allows CJX_Object constructor to be protected.
Change-Id: Ie6865c82c29cd1d129faa487c9021a63310c78a6
Reviewed-on: https://pdfium-review.googlesource.com/17314
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r-- | xfa/fxfa/parser/cxfa_thisproxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_thisproxy.cpp b/xfa/fxfa/parser/cxfa_thisproxy.cpp index 6b84913afb..bbf88a86b7 100644 --- a/xfa/fxfa/parser/cxfa_thisproxy.cpp +++ b/xfa/fxfa/parser/cxfa_thisproxy.cpp @@ -6,7 +6,7 @@ #include "xfa/fxfa/parser/cxfa_thisproxy.h" -#include "fxjs/cjx_object.h" +#include "fxjs/cjx_thisproxy.h" #include "third_party/base/ptr_util.h" #include "xfa/fxfa/parser/cxfa_node.h" @@ -15,7 +15,7 @@ CXFA_ThisProxy::CXFA_ThisProxy(CXFA_Node* pThisNode, CXFA_Node* pScriptNode) XFA_ObjectType::VariablesThis, XFA_Element::Unknown, WideStringView(), - pdfium::MakeUnique<CJX_Object>(this)), + pdfium::MakeUnique<CJX_ThisProxy>(this)), m_pThisNode(pThisNode), m_pScriptNode(pScriptNode) {} |