summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-07 11:46:09 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-07 11:46:09 -0800
commitc09625ca59701fabeb49dc59edcf33031b2c6672 (patch)
tree6fb3cab934f2df7561ef448a5e8ce1ed7b5bd022 /testing
parent413e3518ce390860cb5560720e5fba3ca7c8f764 (diff)
downloadpdfium-c09625ca59701fabeb49dc59edcf33031b2c6672.tar.xz
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
Diffstat (limited to 'testing')
-rw-r--r--testing/libfuzzer/pdf_hint_table_fuzzer.cc6
1 files changed, 3 insertions, 3 deletions
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) {