From c09625ca59701fabeb49dc59edcf33031b2c6672 Mon Sep 17 00:00:00 2001 From: tsepez Date: Mon, 7 Nov 2016 11:46:09 -0800 Subject: Rename CPDF_Linearized to CPDF_LinearizedHeader My OCD insists that classes be named after nouns, and "linearized" feels like an adjective. Remove a redundant "if" while at it. Review-Url: https://codereview.chromium.org/2482973002 --- testing/libfuzzer/pdf_hint_table_fuzzer.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testing') diff --git a/testing/libfuzzer/pdf_hint_table_fuzzer.cc b/testing/libfuzzer/pdf_hint_table_fuzzer.cc index ec51517fc0..e4606f6160 100644 --- a/testing/libfuzzer/pdf_hint_table_fuzzer.cc +++ b/testing/libfuzzer/pdf_hint_table_fuzzer.cc @@ -20,7 +20,7 @@ int32_t GetData(const int32_t** data32, const uint8_t** data, size_t* size) { class HintTableForFuzzing : public CPDF_HintTables { public: - HintTableForFuzzing(CPDF_Linearized* pLinearized, + HintTableForFuzzing(CPDF_LinearizedHeader* pLinearized, int shared_hint_table_offset) : CPDF_HintTables(nullptr, pLinearized), shared_hint_table_offset_(shared_hint_table_offset) {} @@ -44,10 +44,10 @@ class HintTableForFuzzing : public CPDF_HintTables { int shared_hint_table_offset_; }; -class FakeLinearized : public CPDF_Linearized { +class FakeLinearized : public CPDF_LinearizedHeader { public: explicit FakeLinearized(CPDF_Dictionary* linearized_dict) - : CPDF_Linearized(linearized_dict) {} + : CPDF_LinearizedHeader(linearized_dict) {} }; extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { -- cgit v1.2.3