diff options
author | tsepez <tsepez@chromium.org> | 2016-11-07 11:46:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-07 11:46:09 -0800 |
commit | c09625ca59701fabeb49dc59edcf33031b2c6672 (patch) | |
tree | 6fb3cab934f2df7561ef448a5e8ce1ed7b5bd022 /core/fpdfapi/parser/cpdf_hint_tables.cpp | |
parent | 413e3518ce390860cb5560720e5fba3ca7c8f764 (diff) | |
download | pdfium-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 'core/fpdfapi/parser/cpdf_hint_tables.cpp')
-rw-r--r-- | core/fpdfapi/parser/cpdf_hint_tables.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_hint_tables.cpp b/core/fpdfapi/parser/cpdf_hint_tables.cpp index bbc57dace9..5c0f2a7fbe 100644 --- a/core/fpdfapi/parser/cpdf_hint_tables.cpp +++ b/core/fpdfapi/parser/cpdf_hint_tables.cpp @@ -12,7 +12,7 @@ #include "core/fpdfapi/parser/cpdf_data_avail.h" #include "core/fpdfapi/parser/cpdf_dictionary.h" #include "core/fpdfapi/parser/cpdf_document.h" -#include "core/fpdfapi/parser/cpdf_linearized.h" +#include "core/fpdfapi/parser/cpdf_linearized_header.h" #include "core/fpdfapi/parser/cpdf_stream.h" #include "core/fpdfapi/parser/cpdf_stream_acc.h" #include "core/fxcrt/fx_safe_types.h" @@ -35,7 +35,7 @@ bool IsValidPageOffsetHintTableBitCount(uint32_t bits) { } // namespace CPDF_HintTables::CPDF_HintTables(CPDF_DataAvail* pDataAvail, - CPDF_Linearized* pLinearized) + CPDF_LinearizedHeader* pLinearized) : m_pDataAvail(pDataAvail), m_pLinearized(pLinearized), m_nFirstPageSharedObjs(0), |