summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_resolvenode_rs.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-08 18:35:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-08 18:35:50 +0000
commit42d72ca1aa4763901f7c80e52c9a1c367175286d (patch)
treeaf2fc7fe9709eefb0eeec791f8f0981792a40464 /xfa/fxfa/parser/xfa_resolvenode_rs.h
parent517807e01712c1d4400ec8dde0ab3d9b467bbf04 (diff)
downloadpdfium-42d72ca1aa4763901f7c80e52c9a1c367175286d.tar.xz
Convert XFA_SCRIPT_TYPE to an enum class
This CL converts the XFA_SCRIPT_TYPE enum to the XFA_ScriptType enum class. Change-Id: If30ccd7128aaec63a3d1cb9b1c6f72d3048e4529 Reviewed-on: https://pdfium-review.googlesource.com/18031 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_resolvenode_rs.h')
-rw-r--r--xfa/fxfa/parser/xfa_resolvenode_rs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/xfa_resolvenode_rs.h b/xfa/fxfa/parser/xfa_resolvenode_rs.h
index e77df4589c..c1c8e6b4c7 100644
--- a/xfa/fxfa/parser/xfa_resolvenode_rs.h
+++ b/xfa/fxfa/parser/xfa_resolvenode_rs.h
@@ -48,7 +48,8 @@ struct XFA_RESOLVENODE_RS {
~XFA_RESOLVENODE_RS();
size_t GetAttributeResult(CXFA_ValueArray* valueArray) const {
- if (pScriptAttribute && pScriptAttribute->eValueType == XFA_SCRIPT_Object) {
+ if (pScriptAttribute &&
+ pScriptAttribute->eValueType == XFA_ScriptType::Object) {
for (CXFA_Object* pObject : objects) {
auto pValue = pdfium::MakeUnique<CFXJSE_Value>(valueArray->m_pIsolate);
CJX_Object* jsObject = pObject->JSObject();