Index: core/fpdfapi/fpdf_parser/include/cpdf_document.h |
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_document.h b/core/fpdfapi/fpdf_parser/include/cpdf_document.h |
index 4a12ea97dc797274a12e8797f0505023f1005867..31988d8c9db6f012183ef852a12529ba1593be37 100644 |
--- a/core/fpdfapi/fpdf_parser/include/cpdf_document.h |
+++ b/core/fpdfapi/fpdf_parser/include/cpdf_document.h |
@@ -23,6 +23,7 @@ class CPDF_Font; |
class CPDF_FontEncoding; |
class CPDF_IccProfile; |
class CPDF_Image; |
+class CPDF_Parser; |
class CPDF_Pattern; |
class CPDF_StreamAcc; |
class JBig2_DocumentContext; |
@@ -40,7 +41,7 @@ class JBig2_DocumentContext; |
class CPDF_Document : public CPDF_IndirectObjectHolder { |
public: |
explicit CPDF_Document(CPDF_Parser* pParser); |
- ~CPDF_Document(); |
+ ~CPDF_Document() override; |
CPDF_Parser* GetParser() const { return m_pParser; } |
CPDF_Dictionary* GetRoot() const { return m_pRootDict; } |
@@ -125,7 +126,9 @@ class CPDF_Document : public CPDF_IndirectObjectHolder { |
int& index, |
int level = 0); |
FX_BOOL CheckOCGVisible(CPDF_Dictionary* pOCG, FX_BOOL bPrinting); |
+ CPDF_Object* ParseIndirectObject(uint32_t objnum) override; |
+ CPDF_Parser* m_pParser; |
Tom Sepez
2016/08/24 16:13:08
can this be CPDF_Parser* const m_pParser? Or uniq
dsinclair
2016/08/24 17:20:19
Followup: https://codereview.chromium.org/22757730
|
CPDF_Dictionary* m_pRootDict; |
CPDF_Dictionary* m_pInfoDict; |
CFX_ByteString m_ID1; |