From b5d688b8852d2fd3bf8b5c3f367c5941dda18401 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 8 Nov 2017 20:47:01 +0000 Subject: Make most CPDF_LinearizedHeader members const. Change-Id: I82907ad725861b9ccd6299f5dfe20ddb9d238178 Reviewed-on: https://pdfium-review.googlesource.com/17796 Reviewed-by: dsinclair Commit-Queue: Lei Zhang --- testing/libfuzzer/pdf_hint_table_fuzzer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/libfuzzer') diff --git a/testing/libfuzzer/pdf_hint_table_fuzzer.cc b/testing/libfuzzer/pdf_hint_table_fuzzer.cc index ac4229a5a9..ee51e25f24 100644 --- a/testing/libfuzzer/pdf_hint_table_fuzzer.cc +++ b/testing/libfuzzer/pdf_hint_table_fuzzer.cc @@ -49,7 +49,7 @@ class HintTableForFuzzing : public CPDF_HintTables { class FakeLinearized : public CPDF_LinearizedHeader { public: explicit FakeLinearized(CPDF_Dictionary* linearized_dict) - : CPDF_LinearizedHeader(linearized_dict) {} + : CPDF_LinearizedHeader(linearized_dict, 0) {} }; extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { -- cgit v1.2.3