summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_resolvenode_rs.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-12-04 19:12:16 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-04 19:12:16 +0000
commit33beb4e4d34547a4de43f4dee4b2b0483c526b5e (patch)
tree725d0e866857680a0a391ead73bf3e5c88132773 /xfa/fxfa/parser/xfa_resolvenode_rs.h
parent47a90adb7da175cfefe99a3dc40f88521d99b879 (diff)
downloadpdfium-33beb4e4d34547a4de43f4dee4b2b0483c526b5e.tar.xz
Remove SetResultCreateNode
This CL removes the SetResultCreateNode method and inlines into the one caller. The XFA_RESOLVENODE_RSTYPE enum is also renamed XFA_ResolveNode_RSType to make it easier to find XFA_RESOLVENODE_RS objects. Change-Id: I937b612be062c5b7b05fd8d2822cd12cb882ba06 Reviewed-on: https://pdfium-review.googlesource.com/20370 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_resolvenode_rs.h')
-rw-r--r--xfa/fxfa/parser/xfa_resolvenode_rs.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/xfa/fxfa/parser/xfa_resolvenode_rs.h b/xfa/fxfa/parser/xfa_resolvenode_rs.h
index 2eaab5dff4..86960abecc 100644
--- a/xfa/fxfa/parser/xfa_resolvenode_rs.h
+++ b/xfa/fxfa/parser/xfa_resolvenode_rs.h
@@ -27,13 +27,13 @@
#define XFA_RESOLVENODE_Bind 0x0800
#define XFA_RESOLVENODE_BindNew 0x1000
-enum XFA_RESOLVENODE_RSTYPE {
- XFA_RESOLVENODE_RSTYPE_Nodes,
- XFA_RESOLVENODE_RSTYPE_Attribute,
- XFA_RESOLVENODE_RSTYPE_CreateNodeOne,
- XFA_RESOLVENODE_RSTYPE_CreateNodeAll,
- XFA_RESOLVENODE_RSTYPE_CreateNodeMidAll,
- XFA_RESOLVENODE_RSTYPE_ExistNodes,
+enum XFA_ResolveNode_RSType {
+ XFA_ResolveNode_RSType_Nodes,
+ XFA_ResolveNode_RSType_Attribute,
+ XFA_ResolveNode_RSType_CreateNodeOne,
+ XFA_ResolveNode_RSType_CreateNodeAll,
+ XFA_ResolveNode_RSType_CreateNodeMidAll,
+ XFA_ResolveNode_RSType_ExistNodes,
};
struct XFA_RESOLVENODE_RS {
@@ -41,12 +41,12 @@ struct XFA_RESOLVENODE_RS {
~XFA_RESOLVENODE_RS();
std::vector<CXFA_Object*> objects; // Not owned.
- XFA_RESOLVENODE_RSTYPE dwFlags;
+ XFA_ResolveNode_RSType dwFlags;
const XFA_SCRIPTATTRIBUTEINFO* pScriptAttribute;
};
inline XFA_RESOLVENODE_RS::XFA_RESOLVENODE_RS()
- : dwFlags(XFA_RESOLVENODE_RSTYPE_Nodes), pScriptAttribute(nullptr) {}
+ : dwFlags(XFA_ResolveNode_RSType_Nodes), pScriptAttribute(nullptr) {}
inline XFA_RESOLVENODE_RS::~XFA_RESOLVENODE_RS() {}