summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-16 15:14:02 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-17 03:08:06 +0000
commit2e9d47ac2c9a4ebf0821d10c766fafa85e6d3cb9 (patch)
tree212ca832851067eb5f40cf49c1dc2ffe81a24ada
parent7876609b3540137663d48282ad94ba42a3749e73 (diff)
downloadpdfium-2e9d47ac2c9a4ebf0821d10c766fafa85e6d3cb9.tar.xz
Rename formcalc files to better match contents
Most files match the contents. The expression files are named to match their base type even though they contain all the expression subclasses. Change-Id: I3b7705c7b206a9fa1afae8b677f765e8b788e84d Reviewed-on: https://pdfium-review.googlesource.com/5492 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
-rw-r--r--BUILD.gn32
-rw-r--r--testing/libfuzzer/pdf_fm2js_fuzzer.cc2
-rw-r--r--xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp (renamed from xfa/fxfa/fm2js/xfa_fm2jscontext.cpp)4
-rw-r--r--xfa/fxfa/fm2js/cxfa_fm2jscontext.h (renamed from xfa/fxfa/fm2js/xfa_fm2jscontext.h)6
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmerrorinfo.cpp (renamed from xfa/fxfa/fm2js/xfa_error.cpp)2
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmerrorinfo.h (renamed from xfa/fxfa/fm2js/xfa_error.h)6
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmexpression.cpp (renamed from xfa/fxfa/fm2js/xfa_expression.cpp)2
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmexpression.h (renamed from xfa/fxfa/fm2js/xfa_expression.h)8
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmlexer.cpp (renamed from xfa/fxfa/fm2js/xfa_lexer.cpp)2
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmlexer.h (renamed from xfa/fxfa/fm2js/xfa_lexer.h)8
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmlexer_unittest.cpp (renamed from xfa/fxfa/fm2js/xfa_lexer_unittest.cpp)2
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmparse.cpp (renamed from xfa/fxfa/fm2js/xfa_fmparse.cpp)2
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmparse.h (renamed from xfa/fxfa/fm2js/xfa_fmparse.h)10
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmprogram.cpp (renamed from xfa/fxfa/fm2js/xfa_program.cpp)2
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmprogram.h (renamed from xfa/fxfa/fm2js/xfa_program.h)10
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp (renamed from xfa/fxfa/fm2js/xfa_simpleexpression.cpp)2
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h (renamed from xfa/fxfa/fm2js/xfa_simpleexpression.h)8
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp (renamed from xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp)4
-rw-r--r--xfa/fxfa/parser/cxfa_scriptcontext.h2
19 files changed, 57 insertions, 57 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 3a26007a17..7b7e120526 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1663,20 +1663,20 @@ if (pdf_enable_xfa) {
"xfa/fxfa/cxfa_widgetacc.h",
"xfa/fxfa/cxfa_widgetacciterator.cpp",
"xfa/fxfa/cxfa_widgetacciterator.h",
- "xfa/fxfa/fm2js/xfa_error.cpp",
- "xfa/fxfa/fm2js/xfa_error.h",
- "xfa/fxfa/fm2js/xfa_expression.cpp",
- "xfa/fxfa/fm2js/xfa_expression.h",
- "xfa/fxfa/fm2js/xfa_fm2jscontext.cpp",
- "xfa/fxfa/fm2js/xfa_fm2jscontext.h",
- "xfa/fxfa/fm2js/xfa_fmparse.cpp",
- "xfa/fxfa/fm2js/xfa_fmparse.h",
- "xfa/fxfa/fm2js/xfa_lexer.cpp",
- "xfa/fxfa/fm2js/xfa_lexer.h",
- "xfa/fxfa/fm2js/xfa_program.cpp",
- "xfa/fxfa/fm2js/xfa_program.h",
- "xfa/fxfa/fm2js/xfa_simpleexpression.cpp",
- "xfa/fxfa/fm2js/xfa_simpleexpression.h",
+ "xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp",
+ "xfa/fxfa/fm2js/cxfa_fm2jscontext.h",
+ "xfa/fxfa/fm2js/cxfa_fmerrorinfo.cpp",
+ "xfa/fxfa/fm2js/cxfa_fmerrorinfo.h",
+ "xfa/fxfa/fm2js/cxfa_fmexpression.cpp",
+ "xfa/fxfa/fm2js/cxfa_fmexpression.h",
+ "xfa/fxfa/fm2js/cxfa_fmlexer.cpp",
+ "xfa/fxfa/fm2js/cxfa_fmlexer.h",
+ "xfa/fxfa/fm2js/cxfa_fmparse.cpp",
+ "xfa/fxfa/fm2js/cxfa_fmparse.h",
+ "xfa/fxfa/fm2js/cxfa_fmprogram.cpp",
+ "xfa/fxfa/fm2js/cxfa_fmprogram.h",
+ "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp",
+ "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h",
"xfa/fxfa/fxfa.h",
"xfa/fxfa/fxfa_basic.h",
"xfa/fxfa/parser/cscript_datawindow.cpp",
@@ -1910,8 +1910,8 @@ test("pdfium_unittests") {
"xfa/fxfa/app/cxfa_textparser_unittest.cpp",
"xfa/fxfa/app/xfa_ffbarcode_unittest.cpp",
"xfa/fxfa/cxfa_ffapp_unittest.cpp",
- "xfa/fxfa/fm2js/xfa_lexer_unittest.cpp",
- "xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp",
+ "xfa/fxfa/fm2js/cxfa_fmlexer_unittest.cpp",
+ "xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp",
"xfa/fxfa/parser/xfa_utils_unittest.cpp",
]
}
diff --git a/testing/libfuzzer/pdf_fm2js_fuzzer.cc b/testing/libfuzzer/pdf_fm2js_fuzzer.cc
index 2f5b3ea7e4..8cc98fcf54 100644
--- a/testing/libfuzzer/pdf_fm2js_fuzzer.cc
+++ b/testing/libfuzzer/pdf_fm2js_fuzzer.cc
@@ -8,7 +8,7 @@
#include "core/fxcrt/fx_basic.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/fx_string.h"
-#include "xfa/fxfa/fm2js/xfa_program.h"
+#include "xfa/fxfa/fm2js/cxfa_fmprogram.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
FX_SAFE_STRSIZE safe_size = size;
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp b/xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp
index 7deab862f1..c9c0f4a379 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/fm2js/xfa_fm2jscontext.h"
+#include "xfa/fxfa/fm2js/cxfa_fm2jscontext.h"
#include <time.h>
@@ -18,7 +18,7 @@
#include "third_party/base/ptr_util.h"
#include "third_party/base/stl_util.h"
#include "xfa/fxfa/app/xfa_ffnotify.h"
-#include "xfa/fxfa/fm2js/xfa_program.h"
+#include "xfa/fxfa/fm2js/cxfa_fmprogram.h"
#include "xfa/fxfa/parser/cxfa_document.h"
#include "xfa/fxfa/parser/cxfa_localevalue.h"
#include "xfa/fxfa/parser/cxfa_node.h"
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.h b/xfa/fxfa/fm2js/cxfa_fm2jscontext.h
index 6508852ba2..0de3cc74b5 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.h
+++ b/xfa/fxfa/fm2js/cxfa_fm2jscontext.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
-#define XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
+#ifndef XFA_FXFA_FM2JS_CXFA_FM2JSCONTEXT_H_
+#define XFA_FXFA_FM2JS_CXFA_FM2JSCONTEXT_H_
#include <memory>
#include <vector>
@@ -452,4 +452,4 @@ class CXFA_FM2JSContext : public CFXJSE_HostObject {
CXFA_Document* const m_pDocument;
};
-#endif // XFA_FXFA_FM2JS_XFA_FM2JSCONTEXT_H_
+#endif // XFA_FXFA_FM2JS_CXFA_FM2JSCONTEXT_H_
diff --git a/xfa/fxfa/fm2js/xfa_error.cpp b/xfa/fxfa/fm2js/cxfa_fmerrorinfo.cpp
index 5a76d614d1..3e2d5f8eb9 100644
--- a/xfa/fxfa/fm2js/xfa_error.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmerrorinfo.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/fm2js/xfa_error.h"
+#include "xfa/fxfa/fm2js/cxfa_fmerrorinfo.h"
const wchar_t kFMErrUnsupportedChar[] = L"unsupported char '%c'";
const wchar_t kFMErrBadSuffixNumber[] = L"bad suffix on number";
diff --git a/xfa/fxfa/fm2js/xfa_error.h b/xfa/fxfa/fm2js/cxfa_fmerrorinfo.h
index 27ed1879cf..c9d9510fb0 100644
--- a/xfa/fxfa/fm2js/xfa_error.h
+++ b/xfa/fxfa/fm2js/cxfa_fmerrorinfo.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_FM2JS_XFA_ERROR_H_
-#define XFA_FXFA_FM2JS_XFA_ERROR_H_
+#ifndef XFA_FXFA_FM2JS_CXFA_FMERRORINFO_H_
+#define XFA_FXFA_FM2JS_CXFA_FMERRORINFO_H_
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/fx_system.h"
@@ -28,4 +28,4 @@ class CXFA_FMErrorInfo {
CFX_WideString message;
};
-#endif // XFA_FXFA_FM2JS_XFA_ERROR_H_
+#endif // XFA_FXFA_FM2JS_CXFA_FMERRORINFO_H_
diff --git a/xfa/fxfa/fm2js/xfa_expression.cpp b/xfa/fxfa/fm2js/cxfa_fmexpression.cpp
index 324038f7ed..78f6a1f340 100644
--- a/xfa/fxfa/fm2js/xfa_expression.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmexpression.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/fm2js/xfa_expression.h"
+#include "xfa/fxfa/fm2js/cxfa_fmexpression.h"
#include <utility>
diff --git a/xfa/fxfa/fm2js/xfa_expression.h b/xfa/fxfa/fm2js/cxfa_fmexpression.h
index e6022b3e69..c04bc2f117 100644
--- a/xfa/fxfa/fm2js/xfa_expression.h
+++ b/xfa/fxfa/fm2js/cxfa_fmexpression.h
@@ -4,13 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_FM2JS_XFA_EXPRESSION_H_
-#define XFA_FXFA_FM2JS_XFA_EXPRESSION_H_
+#ifndef XFA_FXFA_FM2JS_CXFA_FMEXPRESSION_H_
+#define XFA_FXFA_FM2JS_CXFA_FMEXPRESSION_H_
#include <memory>
#include <vector>
-#include "xfa/fxfa/fm2js/xfa_simpleexpression.h"
+#include "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h"
enum XFA_FM_EXPTYPE {
XFA_FM_EXPTYPE_UNKNOWN,
@@ -211,4 +211,4 @@ class CXFA_FMForeachExpression : public CXFA_FMLoopExpression {
std::unique_ptr<CXFA_FMExpression> m_pList;
};
-#endif // XFA_FXFA_FM2JS_XFA_EXPRESSION_H_
+#endif // XFA_FXFA_FM2JS_CXFA_FMEXPRESSION_H_
diff --git a/xfa/fxfa/fm2js/xfa_lexer.cpp b/xfa/fxfa/fm2js/cxfa_fmlexer.cpp
index be3bb290b9..18f915f198 100644
--- a/xfa/fxfa/fm2js/xfa_lexer.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmlexer.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/fm2js/xfa_lexer.h"
+#include "xfa/fxfa/fm2js/cxfa_fmlexer.h"
#include "core/fxcrt/fx_extension.h"
#include "third_party/base/ptr_util.h"
diff --git a/xfa/fxfa/fm2js/xfa_lexer.h b/xfa/fxfa/fm2js/cxfa_fmlexer.h
index 7de76d7a62..4baa4a594f 100644
--- a/xfa/fxfa/fm2js/xfa_lexer.h
+++ b/xfa/fxfa/fm2js/cxfa_fmlexer.h
@@ -4,14 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_FM2JS_XFA_LEXER_H_
-#define XFA_FXFA_FM2JS_XFA_LEXER_H_
+#ifndef XFA_FXFA_FM2JS_CXFA_FMLEXER_H_
+#define XFA_FXFA_FM2JS_CXFA_FMLEXER_H_
#include <memory>
#include <utility>
#include "core/fxcrt/fx_string.h"
-#include "xfa/fxfa/fm2js/xfa_error.h"
+#include "xfa/fxfa/fm2js/cxfa_fmerrorinfo.h"
enum XFA_FM_TOKEN {
TOKand,
@@ -134,4 +134,4 @@ class CXFA_FMLexer {
CXFA_FMErrorInfo* m_pErrorInfo;
};
-#endif // XFA_FXFA_FM2JS_XFA_LEXER_H_
+#endif // XFA_FXFA_FM2JS_CXFA_FMLEXER_H_
diff --git a/xfa/fxfa/fm2js/xfa_lexer_unittest.cpp b/xfa/fxfa/fm2js/cxfa_fmlexer_unittest.cpp
index fac0c9ac55..f47e985c8c 100644
--- a/xfa/fxfa/fm2js/xfa_lexer_unittest.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmlexer_unittest.cpp
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "xfa/fxfa/fm2js/xfa_lexer.h"
+#include "xfa/fxfa/fm2js/cxfa_fmlexer.h"
#include <vector>
diff --git a/xfa/fxfa/fm2js/xfa_fmparse.cpp b/xfa/fxfa/fm2js/cxfa_fmparse.cpp
index 4f6f6bac58..cac7ad1b59 100644
--- a/xfa/fxfa/fm2js/xfa_fmparse.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmparse.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/fm2js/xfa_fmparse.h"
+#include "xfa/fxfa/fm2js/cxfa_fmparse.h"
#include <memory>
#include <utility>
diff --git a/xfa/fxfa/fm2js/xfa_fmparse.h b/xfa/fxfa/fm2js/cxfa_fmparse.h
index e49fbf2f72..43a4450128 100644
--- a/xfa/fxfa/fm2js/xfa_fmparse.h
+++ b/xfa/fxfa/fm2js/cxfa_fmparse.h
@@ -4,14 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_FM2JS_XFA_FMPARSE_H_
-#define XFA_FXFA_FM2JS_XFA_FMPARSE_H_
+#ifndef XFA_FXFA_FM2JS_CXFA_FMPARSE_H_
+#define XFA_FXFA_FM2JS_CXFA_FMPARSE_H_
#include <memory>
#include <vector>
-#include "xfa/fxfa/fm2js/xfa_expression.h"
-#include "xfa/fxfa/fm2js/xfa_lexer.h"
+#include "xfa/fxfa/fm2js/cxfa_fmexpression.h"
+#include "xfa/fxfa/fm2js/cxfa_fmlexer.h"
class CXFA_FMParse {
public:
@@ -55,4 +55,4 @@ class CXFA_FMParse {
CXFA_FMErrorInfo* const m_pErrorInfo;
};
-#endif // XFA_FXFA_FM2JS_XFA_FMPARSE_H_
+#endif // XFA_FXFA_FM2JS_CXFA_FMPARSE_H_
diff --git a/xfa/fxfa/fm2js/xfa_program.cpp b/xfa/fxfa/fm2js/cxfa_fmprogram.cpp
index 8e5aa5ec3b..6e6385dae0 100644
--- a/xfa/fxfa/fm2js/xfa_program.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmprogram.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/fm2js/xfa_program.h"
+#include "xfa/fxfa/fm2js/cxfa_fmprogram.h"
#include <utility>
#include <vector>
diff --git a/xfa/fxfa/fm2js/xfa_program.h b/xfa/fxfa/fm2js/cxfa_fmprogram.h
index 641c72f4a2..e2a8a984f2 100644
--- a/xfa/fxfa/fm2js/xfa_program.h
+++ b/xfa/fxfa/fm2js/cxfa_fmprogram.h
@@ -4,13 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_FM2JS_XFA_PROGRAM_H_
-#define XFA_FXFA_FM2JS_XFA_PROGRAM_H_
+#ifndef XFA_FXFA_FM2JS_CXFA_FMPROGRAM_H_
+#define XFA_FXFA_FM2JS_CXFA_FMPROGRAM_H_
#include <memory>
-#include "xfa/fxfa/fm2js/xfa_error.h"
-#include "xfa/fxfa/fm2js/xfa_fmparse.h"
+#include "xfa/fxfa/fm2js/cxfa_fmerrorinfo.h"
+#include "xfa/fxfa/fm2js/cxfa_fmparse.h"
class CXFA_FMProgram {
public:
@@ -26,4 +26,4 @@ class CXFA_FMProgram {
std::unique_ptr<CXFA_FMFunctionDefinition> m_globalFunction;
};
-#endif // XFA_FXFA_FM2JS_XFA_PROGRAM_H_
+#endif // XFA_FXFA_FM2JS_CXFA_FMPROGRAM_H_
diff --git a/xfa/fxfa/fm2js/xfa_simpleexpression.cpp b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp
index 1438ff29a4..3b4dc7017d 100644
--- a/xfa/fxfa/fm2js/xfa_simpleexpression.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp
@@ -4,7 +4,7 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/fm2js/xfa_simpleexpression.h"
+#include "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h"
#include <utility>
diff --git a/xfa/fxfa/fm2js/xfa_simpleexpression.h b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
index cb40e2b987..e6d39419ed 100644
--- a/xfa/fxfa/fm2js/xfa_simpleexpression.h
+++ b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
@@ -4,14 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_
-#define XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_
+#ifndef XFA_FXFA_FM2JS_CXFA_FMSIMPLEEXPRESSION_H_
+#define XFA_FXFA_FM2JS_CXFA_FMSIMPLEEXPRESSION_H_
#include <memory>
#include <vector>
#include "core/fxcrt/fx_basic.h"
-#include "xfa/fxfa/fm2js/xfa_lexer.h"
+#include "xfa/fxfa/fm2js/cxfa_fmlexer.h"
#define RUNTIMEFUNCTIONRETURNVALUE \
(L"foxit_xfa_formcalc_runtime_func_return_value")
@@ -305,4 +305,4 @@ class CXFA_FMMethodCallExpression : public CXFA_FMBinExpression {
bool CFXA_IsTooBig(const CFX_WideTextBuf& javascript);
-#endif // XFA_FXFA_FM2JS_XFA_SIMPLEEXPRESSION_H_
+#endif // XFA_FXFA_FM2JS_CXFA_FMSIMPLEEXPRESSION_H_
diff --git a/xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp
index b1b96e03d5..f11459b107 100644
--- a/xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp
+++ b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "xfa/fxfa/fm2js/xfa_simpleexpression.h"
+#include "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h"
#include <memory>
#include <utility>
@@ -11,7 +11,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/test_support.h"
#include "third_party/base/ptr_util.h"
-#include "xfa/fxfa/fm2js/xfa_lexer.h"
+#include "xfa/fxfa/fm2js/cxfa_fmlexer.h"
TEST(FMCallExpressionTest, more_than_32_arguments) {
// Use sign as it has 3 object parameters at positions 0, 5, and 6.
diff --git a/xfa/fxfa/parser/cxfa_scriptcontext.h b/xfa/fxfa/parser/cxfa_scriptcontext.h
index 4a497ca22a..d3a9609769 100644
--- a/xfa/fxfa/parser/cxfa_scriptcontext.h
+++ b/xfa/fxfa/parser/cxfa_scriptcontext.h
@@ -13,7 +13,7 @@
#include "fxjs/cfxjse_arguments.h"
#include "xfa/fxfa/cxfa_eventparam.h"
-#include "xfa/fxfa/fm2js/xfa_fm2jscontext.h"
+#include "xfa/fxfa/fm2js/cxfa_fm2jscontext.h"
#include "xfa/fxfa/parser/cxfa_document.h"
#include "xfa/fxfa/parser/xfa_resolvenode_rs.h"