summaryrefslogtreecommitdiff
path: root/testing/libfuzzer
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-04-12 13:14:49 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-12 13:14:49 +0000
commit6d503b875e6f75f0d8b5f29fcf811a89f12ad12d (patch)
treedfe3e6f2125e327e57b6688c9020f698f3accbfa /testing/libfuzzer
parente1a41afbe146c9a976d96828a3a09a8a384741d9 (diff)
downloadpdfium-6d503b875e6f75f0d8b5f29fcf811a89f12ad12d.tar.xz
Cleanup some CFX_XMLParser code
This CL cleans up minor nits in the CFX_XMLParser code. Change-Id: Ie19d12d3dcce16c9ce6088160ecdec3d9855c11f Reviewed-on: https://pdfium-review.googlesource.com/30170 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing/libfuzzer')
-rw-r--r--testing/libfuzzer/pdf_xml_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_xml_fuzzer.cc b/testing/libfuzzer/pdf_xml_fuzzer.cc
index 072f86c702..82627e1496 100644
--- a/testing/libfuzzer/pdf_xml_fuzzer.cc
+++ b/testing/libfuzzer/pdf_xml_fuzzer.cc
@@ -23,7 +23,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
pdfium::MakeRetain<CFX_SeekableStreamProxy>(const_cast<uint8_t*>(data),
size);
auto doc = pdfium::MakeUnique<CFX_XMLDoc>(stream);
- if (doc->DoLoad() < 100)
+ if (doc->Load() < 100)
return 0;
CFX_XMLNode* pXMLFakeRoot = doc->GetRoot();