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.h | |
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.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_hint_tables.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fpdfapi/parser/cpdf_hint_tables.h b/core/fpdfapi/parser/cpdf_hint_tables.h index 68b5059b05..e0bc6e0751 100644 --- a/core/fpdfapi/parser/cpdf_hint_tables.h +++ b/core/fpdfapi/parser/cpdf_hint_tables.h @@ -14,12 +14,13 @@ #include "core/fxcrt/fx_stream.h" class CFX_BitStream; -class CPDF_Linearized; +class CPDF_LinearizedHeader; class CPDF_Stream; class CPDF_HintTables { public: - CPDF_HintTables(CPDF_DataAvail* pDataAvail, CPDF_Linearized* pLinearized); + CPDF_HintTables(CPDF_DataAvail* pDataAvail, + CPDF_LinearizedHeader* pLinearized); virtual ~CPDF_HintTables(); bool GetPagePos(uint32_t index, @@ -53,7 +54,7 @@ class CPDF_HintTables { CPDF_DataAvail* const m_pDataAvail; // Owned by |m_pDataAvail|. - CPDF_Linearized* const m_pLinearized; + CPDF_LinearizedHeader* const m_pLinearized; uint32_t m_nFirstPageSharedObjs; FX_FILESIZE m_szFirstPageObjOffset; |