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_parser.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_parser.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.h b/core/fpdfapi/parser/cpdf_parser.h index b8ce7ab294..faac6c5195 100644 --- a/core/fpdfapi/parser/cpdf_parser.h +++ b/core/fpdfapi/parser/cpdf_parser.h @@ -19,7 +19,7 @@ class CPDF_CryptoHandler; class CPDF_Dictionary; class CPDF_Document; class CPDF_IndirectObjectHolder; -class CPDF_Linearized; +class CPDF_LinearizedHeader; class CPDF_Object; class CPDF_SecurityHandler; class CPDF_StreamAcc; @@ -158,7 +158,7 @@ class CPDF_Parser { std::set<FX_FILESIZE> m_SortedOffset; std::vector<CPDF_Dictionary*> m_Trailers; bool m_bVersionUpdated; - std::unique_ptr<CPDF_Linearized> m_pLinearized; + std::unique_ptr<CPDF_LinearizedHeader> m_pLinearized; uint32_t m_dwXrefStartObjNum; // A map of object numbers to indirect streams. Map owns the streams. |