summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_document.h
diff options
context:
space:
mode:
authorart-snake <art-snake@yandex-team.ru>2016-11-04 18:17:27 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-04 18:17:27 -0700
commit71333dc57ac7e4cf7963c83333730b3882ab371f (patch)
treef675d5bfbe53b7803879acbe42a4663d9e390879 /core/fpdfapi/parser/cpdf_document.h
parent04bebfe590d6d27a825b881fd234e31501843edc (diff)
downloadpdfium-71333dc57ac7e4cf7963c83333730b3882ab371f.tar.xz
Unify some code
Move parsing of linearized header into separate CPDF_Linearized class. Review-Url: https://codereview.chromium.org/2466023002
Diffstat (limited to 'core/fpdfapi/parser/cpdf_document.h')
-rw-r--r--core/fpdfapi/parser/cpdf_document.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_document.h b/core/fpdfapi/parser/cpdf_document.h
index 0a99e42c3f..1b18015200 100644
--- a/core/fpdfapi/parser/cpdf_document.h
+++ b/core/fpdfapi/parser/cpdf_document.h
@@ -26,6 +26,7 @@ class CPDF_Font;
class CPDF_FontEncoding;
class CPDF_IccProfile;
class CPDF_Image;
+class CPDF_Linearized;
class CPDF_Parser;
class CPDF_Pattern;
class CPDF_StreamAcc;
@@ -85,7 +86,7 @@ class CPDF_Document : public CPDF_IndirectObjectHolder {
CPDF_IccProfile* LoadIccProfile(CPDF_Stream* pStream);
void LoadDoc();
- void LoadLinearizedDoc(CPDF_Dictionary* pLinearizationParams);
+ void LoadLinearizedDoc(const CPDF_Linearized* pLinearizationParams);
void LoadPages();
void CreateNewDoc();