diff options
author | dsinclair <dsinclair@chromium.org> | 2016-05-18 13:16:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-18 13:16:12 -0700 |
commit | cbfef5772c52fbd3378905a61fc9432da1515433 (patch) | |
tree | be4c25e41d2467609612232a92e598ccd9baa7eb /xfa/fxfa/parser/xfa_script_resolveprocessor.h | |
parent | 1763f62972a3ebf080f645899a8de79b00dbfb23 (diff) | |
download | pdfium-cbfef5772c52fbd3378905a61fc9432da1515433.tar.xz |
Cleanup XFA_HASHCODE usage.
This CL cleans up several uses of XFA_HASHCODE. The defines have been converted
into an enum.
For the SavePackage call the type is now used as the param instead of a string.
The callers pass in the correct type instead of doing an internal conversion.
The GetXFAObject accepting a string was removed as it was unused. The other
variant was changed to accept the XFA_HashCode type instead of uint32_t.
GetPackageData was removed as it is unused.
Review-Url: https://codereview.chromium.org/1989313002
Diffstat (limited to 'xfa/fxfa/parser/xfa_script_resolveprocessor.h')
-rw-r--r-- | xfa/fxfa/parser/xfa_script_resolveprocessor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_script_resolveprocessor.h b/xfa/fxfa/parser/xfa_script_resolveprocessor.h index b63cced721..9789ffd7b8 100644 --- a/xfa/fxfa/parser/xfa_script_resolveprocessor.h +++ b/xfa/fxfa/parser/xfa_script_resolveprocessor.h @@ -19,7 +19,7 @@ class CXFA_ResolveNodesData { : m_pSC(pSC), m_CurNode(NULL), m_wsName(), - m_uHashName(0), + m_uHashName(XFA_HASHCODE_None), m_wsCondition(), m_nLevel(0), m_Nodes(), @@ -30,7 +30,7 @@ class CXFA_ResolveNodesData { CXFA_ScriptContext* m_pSC; CXFA_Object* m_CurNode; CFX_WideString m_wsName; - uint32_t m_uHashName; + XFA_HashCode m_uHashName; CFX_WideString m_wsCondition; int32_t m_nLevel; CXFA_ObjArray m_Nodes; |