summaryrefslogtreecommitdiff
path: root/testing/xfa_js_embedder_test.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-14 18:34:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-14 18:34:43 +0000
commitd1b1127cd452a173ec119587c3a6e137e27df6d7 (patch)
tree4fa719620920ad545ce2346904d253253659d4ab /testing/xfa_js_embedder_test.cpp
parenta5b0e63b66e8bc8744677f4e5b8de2fe2c1b1a7b (diff)
downloadpdfium-d1b1127cd452a173ec119587c3a6e137e27df6d7.tar.xz
Cleanup const refs and some enums
This CL cleans up some const refs and some enum values from the previous rename CLs. Change-Id: Ifaa990c9c45485bb059e0bda0026093d0a2c0944 Reviewed-on: https://pdfium-review.googlesource.com/18230 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing/xfa_js_embedder_test.cpp')
-rw-r--r--testing/xfa_js_embedder_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/xfa_js_embedder_test.cpp b/testing/xfa_js_embedder_test.cpp
index 54ad15a892..68a0c109d4 100644
--- a/testing/xfa_js_embedder_test.cpp
+++ b/testing/xfa_js_embedder_test.cpp
@@ -74,7 +74,7 @@ bool XFAJSEmbedderTest::ExecuteSilenceFailure(const ByteStringView& input) {
bool XFAJSEmbedderTest::ExecuteHelper(const ByteStringView& input) {
value_ = pdfium::MakeUnique<CFXJSE_Value>(GetIsolate());
- return script_context_->RunScript(XFA_SCRIPTLANGTYPE_Formcalc,
+ return script_context_->RunScript(XFA_ScriptDataType::Formcalc,
WideString::FromUTF8(input).AsStringView(),
value_.get(), GetXFADocument()->GetRoot());
}