summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_parser/include/cfdf_document.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-08-17 12:45:26 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-17 12:45:26 -0700
commit260f5fbf3553a96fa49b029cc050220039c30e2a (patch)
treebd2cb6ee2909cb33f0b78969086ec3aaf83e548a /core/fpdfapi/fpdf_parser/include/cfdf_document.h
parent70ba38a9a1af0240529a96904dfdb8868b868719 (diff)
downloadpdfium-260f5fbf3553a96fa49b029cc050220039c30e2a.tar.xz
Move parser pointer to CPDF_Document
The CPDF_IndirectObjectHolder has two subclasses, CPDF_Document and CFDF_Document. The CPDF document requires the parser and the CFDF document does not. This cl moves the parser pointer up to CPDF_Document. Review-Url: https://codereview.chromium.org/2253723002
Diffstat (limited to 'core/fpdfapi/fpdf_parser/include/cfdf_document.h')
-rw-r--r--core/fpdfapi/fpdf_parser/include/cfdf_document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_parser/include/cfdf_document.h b/core/fpdfapi/fpdf_parser/include/cfdf_document.h
index 18b9442fa9..834aecd1ba 100644
--- a/core/fpdfapi/fpdf_parser/include/cfdf_document.h
+++ b/core/fpdfapi/fpdf_parser/include/cfdf_document.h
@@ -19,7 +19,7 @@ class CFDF_Document : public CPDF_IndirectObjectHolder {
static CFDF_Document* ParseFile(IFX_FileRead* pFile,
FX_BOOL bOwnFile = FALSE);
static CFDF_Document* ParseMemory(const uint8_t* pData, uint32_t size);
- ~CFDF_Document();
+ ~CFDF_Document() override;
FX_BOOL WriteBuf(CFX_ByteTextBuf& buf) const;
CPDF_Dictionary* GetRoot() const { return m_pRootDict; }