diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-29 18:14:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-29 18:14:58 +0000 |
commit | ee68cd18a22e120d5f341199be7e82bfda888da8 (patch) | |
tree | 23fdccdff03e1b705620775b96fcedb67a30e8a6 /fxjs | |
parent | 5b346563297d1a2cb19a3a101a4b5d50c4aee23c (diff) | |
download | pdfium-ee68cd18a22e120d5f341199be7e82bfda888da8.tar.xz |
Move XFA_RESOLVENODE_TagName to xfa_resolvenode_rs.h.
Change-Id: I600013bcbf44661fd132ce786bcd08980a7ecd4e
Reviewed-on: https://pdfium-review.googlesource.com/41572
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cfxjse_engine.h | 2 | ||||
-rw-r--r-- | fxjs/cfxjse_resolveprocessor.cpp | 2 | ||||
-rw-r--r-- | fxjs/cfxjse_resolveprocessor.h | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/fxjs/cfxjse_engine.h b/fxjs/cfxjse_engine.h index 4d4daf8e0d..bf561e7732 100644 --- a/fxjs/cfxjse_engine.h +++ b/fxjs/cfxjse_engine.h @@ -20,8 +20,6 @@ #include "xfa/fxfa/parser/cxfa_script.h" #include "xfa/fxfa/parser/xfa_resolvenode_rs.h" -#define XFA_RESOLVENODE_TagName 0x0002 - class CFXJSE_ResolveProcessor; class CJS_Runtime; class CXFA_List; diff --git a/fxjs/cfxjse_resolveprocessor.cpp b/fxjs/cfxjse_resolveprocessor.cpp index 917f78cabb..6dd4d0c430 100644 --- a/fxjs/cfxjse_resolveprocessor.cpp +++ b/fxjs/cfxjse_resolveprocessor.cpp @@ -26,7 +26,7 @@ #include "xfa/fxfa/parser/xfa_utils.h" CFXJSE_ResolveProcessor::CFXJSE_ResolveProcessor() - : m_iCurStart(0), m_pNodeHelper(pdfium::MakeUnique<CXFA_NodeHelper>()) {} + : m_pNodeHelper(pdfium::MakeUnique<CXFA_NodeHelper>()) {} CFXJSE_ResolveProcessor::~CFXJSE_ResolveProcessor() {} diff --git a/fxjs/cfxjse_resolveprocessor.h b/fxjs/cfxjse_resolveprocessor.h index 71aba6efa8..521128b62c 100644 --- a/fxjs/cfxjse_resolveprocessor.h +++ b/fxjs/cfxjse_resolveprocessor.h @@ -70,8 +70,8 @@ class CFXJSE_ResolveProcessor { CFXJSE_ResolveNodeData& rnd); void FilterCondition(CFXJSE_ResolveNodeData& rnd, WideString wsCondition); - int32_t m_iCurStart; - std::unique_ptr<CXFA_NodeHelper> m_pNodeHelper; + int32_t m_iCurStart = 0; + const std::unique_ptr<CXFA_NodeHelper> m_pNodeHelper; }; #endif // FXJS_CFXJSE_RESOLVEPROCESSOR_H_ |