summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-04 12:09:52 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-04 16:24:55 +0000
commitdf673c28191cca181ef526d02f24b4a7a6f5e200 (patch)
tree8fe9304aa58e3c0045bba5140f6b6fbb322d7ea7 /testing
parentc5fc83c50dee0968bd3c16e69ca84300531c6391 (diff)
downloadpdfium-df673c28191cca181ef526d02f24b4a7a6f5e200.tar.xz
Cleanup more null IFX_Pause parameters
This Cl cleans up more IFX_Pause parameters which are always null. Change-Id: Ia48600f06216db64a2db8e6e97222a91bd4ba149 Reviewed-on: https://pdfium-review.googlesource.com/4890 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r--testing/libfuzzer/pdf_cfx_saxreader_fuzzer.cc2
-rw-r--r--testing/libfuzzer/pdf_xml_fuzzer.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/libfuzzer/pdf_cfx_saxreader_fuzzer.cc b/testing/libfuzzer/pdf_cfx_saxreader_fuzzer.cc
index 6769d8e844..fcf8b09e90 100644
--- a/testing/libfuzzer/pdf_cfx_saxreader_fuzzer.cc
+++ b/testing/libfuzzer/pdf_cfx_saxreader_fuzzer.cc
@@ -18,7 +18,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
}
while (1) {
- int32_t ret = reader.ContinueParse(nullptr);
+ int32_t ret = reader.ContinueParse();
if (ret < 0 || ret > 99)
break;
}
diff --git a/testing/libfuzzer/pdf_xml_fuzzer.cc b/testing/libfuzzer/pdf_xml_fuzzer.cc
index be77016b60..80a112d32b 100644
--- a/testing/libfuzzer/pdf_xml_fuzzer.cc
+++ b/testing/libfuzzer/pdf_xml_fuzzer.cc
@@ -58,7 +58,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
if (!doc->LoadXML(pdfium::MakeUnique<CFX_XMLParser>(doc->GetRoot(), stream)))
return 0;
- if (doc->DoLoad(nullptr) < 100)
+ if (doc->DoLoad() < 100)
return 0;
(void)XFA_FDEExtension_GetDocumentNode(doc.get());