diff options
author | tsepez <tsepez@chromium.org> | 2016-05-16 15:42:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-16 15:42:58 -0700 |
commit | fa34e805fd03ba81bcfe1148cf96b24fe63b39a0 (patch) | |
tree | eb9ca58d4b4e327da346491f107d9b54925c18e3 /testing/libfuzzer | |
parent | 44d83f3f0b90f4c53ca42115d4f1ed614b25c3a7 (diff) | |
download | pdfium-fa34e805fd03ba81bcfe1148cf96b24fe63b39a0.tar.xz |
Replace Release() { delete this; } in fde_xml_imp.h
Review-Url: https://codereview.chromium.org/1981003002
Diffstat (limited to 'testing/libfuzzer')
-rw-r--r-- | testing/libfuzzer/pdf_xml_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_xml_fuzzer.cc b/testing/libfuzzer/pdf_xml_fuzzer.cc index ebafab374a..302b9a9d2f 100644 --- a/testing/libfuzzer/pdf_xml_fuzzer.cc +++ b/testing/libfuzzer/pdf_xml_fuzzer.cc @@ -55,7 +55,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { return 0; std::unique_ptr<CFDE_XMLDoc> doc(new CFDE_XMLDoc); - std::unique_ptr<CFDE_XMLParser, ReleaseDeleter<CFDE_XMLParser>> parser( + std::unique_ptr<IFDE_XMLParser> parser( new CXFA_XMLParser(doc->GetRoot(), stream.get())); if (!doc->LoadXML(parser.release())) |