summaryrefslogtreecommitdiff
path: root/testing/fuzzers/pdf_codec_fax_fuzzer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fuzzers/pdf_codec_fax_fuzzer.cc')
-rw-r--r--testing/fuzzers/pdf_codec_fax_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/fuzzers/pdf_codec_fax_fuzzer.cc b/testing/fuzzers/pdf_codec_fax_fuzzer.cc
index f6cc1e7200..1d0b0f85f8 100644
--- a/testing/fuzzers/pdf_codec_fax_fuzzer.cc
+++ b/testing/fuzzers/pdf_codec_fax_fuzzer.cc
@@ -30,7 +30,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
CCodec_FaxModule fax_module;
std::unique_ptr<CCodec_ScanlineDecoder> decoder(
- fax_module.CreateDecoder(data, size, width, height, K, EndOfLine,
+ fax_module.CreateDecoder({data, size}, width, height, K, EndOfLine,
ByteAlign, BlackIs1, Columns, Rows));
if (decoder) {