Index: testing/libfuzzer/pdf_cfx_saxreader_fuzzer.cc |
diff --git a/testing/libfuzzer/pdf_cfx_saxreader_fuzzer.cc b/testing/libfuzzer/pdf_cfx_saxreader_fuzzer.cc |
index b32a182f234b243ac9ca0aa4c371601943ffec85..923a732d0698d9dbcdf29d7103f908f24d37b133 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) { |
std::unique_ptr<IFX_SeekableReadStream, |
ReleaseDeleter<IFX_SeekableReadStream>> |
- fileRead(FX_CreateFileRead(stream.get(), false)); |
+ fileRead(stream->MakeSeekableReadStream()); |
if (!fileRead) |
return 0; |