From 3fff90a670d860a7b0319aa0edf8628917d0a122 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 1 Nov 2017 13:12:39 +0000 Subject: Move some XFA JS code into fxjs/ This CL renames cxfa_scriptcontext to cfxjse_engine and cxfa_fm2jscontext to cfxjse_formcalc_context. From reading the code, the script context appears to handle the v8 setup and object code. The formcalc context code is related to handling the JS code generated from the transpiler. I, think, these new names make the intended usage clearer. They also move the code into fxjs/ to keep along side the rest of the JS code. Change-Id: I50619fbe48ca1f553a44cf0e0cb0210be8e45e4f Reviewed-on: https://pdfium-review.googlesource.com/17130 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- testing/xfa_js_embedder_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/xfa_js_embedder_test.cpp') diff --git a/testing/xfa_js_embedder_test.cpp b/testing/xfa_js_embedder_test.cpp index 3aee49c580..54ad15a892 100644 --- a/testing/xfa_js_embedder_test.cpp +++ b/testing/xfa_js_embedder_test.cpp @@ -8,9 +8,9 @@ #include "fpdfsdk/fpdfxfa/cpdfxfa_context.h" #include "fpdfsdk/fsdk_define.h" +#include "fxjs/cfxjse_engine.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/base/ptr_util.h" -#include "xfa/fxfa/parser/cxfa_scriptcontext.h" XFAJSEmbedderTest::XFAJSEmbedderTest() : array_buffer_allocator_(pdfium::MakeUnique()) { -- cgit v1.2.3