From 07c0a4952a9fe45e51c6ba5a2e19296e52ea6ec7 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 14 Dec 2017 20:29:23 +0000 Subject: Fold CXFA_ScriptData into CXFA_Script This CL removes the CXFA_ScriptData wrapper and uses CXFA_Script directly. Change-Id: I1f1932ef96ee4a24407de7eb1d68b8631a5a67ea Reviewed-on: https://pdfium-review.googlesource.com/21173 Commit-Queue: dsinclair Reviewed-by: Henrique Nakashima --- fxjs/cfxjse_resolveprocessor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fxjs/cfxjse_resolveprocessor.cpp') diff --git a/fxjs/cfxjse_resolveprocessor.cpp b/fxjs/cfxjse_resolveprocessor.cpp index f3e4a21312..75c5eea6b5 100644 --- a/fxjs/cfxjse_resolveprocessor.cpp +++ b/fxjs/cfxjse_resolveprocessor.cpp @@ -624,11 +624,11 @@ void CFXJSE_ResolveProcessor::DoPredicateFilter(int32_t iCurIndex, CFXJSE_ResolveNodeData& rnd) { ASSERT(iFoundCount == pdfium::CollectionSize(rnd.m_Objects)); WideString wsExpression; - CXFA_ScriptData::Type eLangType = CXFA_ScriptData::Type::Unknown; + CXFA_Script::Type eLangType = CXFA_Script::Type::Unknown; if (wsCondition.Left(2) == L".[" && wsCondition.Last() == L']') - eLangType = CXFA_ScriptData::Type::Formcalc; + eLangType = CXFA_Script::Type::Formcalc; else if (wsCondition.Left(2) == L".(" && wsCondition.Last() == L')') - eLangType = CXFA_ScriptData::Type::Javascript; + eLangType = CXFA_Script::Type::Javascript; else return; -- cgit v1.2.3