summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/pdf_fm2js_fuzzer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libfuzzer/pdf_fm2js_fuzzer.cc')
-rw-r--r--testing/libfuzzer/pdf_fm2js_fuzzer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/libfuzzer/pdf_fm2js_fuzzer.cc b/testing/libfuzzer/pdf_fm2js_fuzzer.cc
index c93804a92e..2541dfbcc8 100644
--- a/testing/libfuzzer/pdf_fm2js_fuzzer.cc
+++ b/testing/libfuzzer/pdf_fm2js_fuzzer.cc
@@ -8,7 +8,7 @@
#include "core/fxcrt/cfx_widetextbuf.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/fx_string.h"
-#include "xfa/fxfa/fm2js/cxfa_fm2jscontext.h"
+#include "fxjs/cfxjse_formcalc_context.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
FX_SAFE_SIZE_T safe_size = size;
@@ -18,6 +18,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
CFX_WideTextBuf js;
WideString input =
WideString::FromUTF8(ByteStringView(data, safe_size.ValueOrDie()));
- CXFA_FM2JSContext::Translate(input.AsStringView(), &js);
+ CFXJSE_FormCalcContext::Translate(input.AsStringView(), &js);
return 0;
}