summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fxjs/cfxjse_engine.h2
-rw-r--r--fxjs/cfxjse_resolveprocessor.cpp2
-rw-r--r--fxjs/cfxjse_resolveprocessor.h4
-rw-r--r--xfa/fxfa/parser/xfa_resolvenode_rs.h1
4 files changed, 4 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_
diff --git a/xfa/fxfa/parser/xfa_resolvenode_rs.h b/xfa/fxfa/parser/xfa_resolvenode_rs.h
index 7039c61ee9..5991e0a9e1 100644
--- a/xfa/fxfa/parser/xfa_resolvenode_rs.h
+++ b/xfa/fxfa/parser/xfa_resolvenode_rs.h
@@ -14,6 +14,7 @@
#include "xfa/fxfa/parser/cxfa_object.h"
#define XFA_RESOLVENODE_Children 0x0001
+#define XFA_RESOLVENODE_TagName 0x0002
#define XFA_RESOLVENODE_Attributes 0x0004
#define XFA_RESOLVENODE_Properties 0x0008
#define XFA_RESOLVENODE_Siblings 0x0020