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_document.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_document.cpp')
-rw-r--r-- | core/fpdfapi/parser/cpdf_document.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_document.cpp b/core/fpdfapi/parser/cpdf_document.cpp index d9ffc0b28a..eb2ab554c7 100644 --- a/core/fpdfapi/parser/cpdf_document.cpp +++ b/core/fpdfapi/parser/cpdf_document.cpp @@ -17,7 +17,7 @@ #include "core/fpdfapi/page/pageint.h" #include "core/fpdfapi/parser/cpdf_array.h" #include "core/fpdfapi/parser/cpdf_dictionary.h" -#include "core/fpdfapi/parser/cpdf_linearized.h" +#include "core/fpdfapi/parser/cpdf_linearized_header.h" #include "core/fpdfapi/parser/cpdf_number.h" #include "core/fpdfapi/parser/cpdf_parser.h" #include "core/fpdfapi/parser/cpdf_reference.h" @@ -380,7 +380,7 @@ void CPDF_Document::LoadDoc() { } void CPDF_Document::LoadLinearizedDoc( - const CPDF_Linearized* pLinearizationParams) { + const CPDF_LinearizedHeader* pLinearizationParams) { m_bLinearized = true; LoadDocInternal(); m_PageList.SetSize(pLinearizationParams->GetPageCount()); |