summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_document.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-07-16 20:18:28 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-16 20:18:28 +0000
commit4cf61e07625888a3b56c4de97719c87cf514fb7f (patch)
treeb1ea8e7a51df07dfdd72839d18faccd2f8971d38 /core/fpdfapi/parser/cpdf_document.h
parent1d273f1cf00676725da6f0cd17e107f114030e87 (diff)
downloadpdfium-4cf61e07625888a3b56c4de97719c87cf514fb7f.tar.xz
Fix some nits in CPDF_Document.
Change-Id: I57f89b9f2a8ef3f351e7574a76d6064ffde150d3 Reviewed-on: https://pdfium-review.googlesource.com/37870 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_document.h')
-rw-r--r--core/fpdfapi/parser/cpdf_document.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_document.h b/core/fpdfapi/parser/cpdf_document.h
index a40993da17..81860a926d 100644
--- a/core/fpdfapi/parser/cpdf_document.h
+++ b/core/fpdfapi/parser/cpdf_document.h
@@ -170,8 +170,8 @@ class CPDF_Document : public Observable<CPDF_Document>,
std::vector<std::pair<CPDF_Dictionary*, size_t>> m_pTreeTraversal;
// Index of the next page that will be traversed from the page tree.
- int m_iNextPageToTraverse;
- bool m_bReachedMaxPageLevel;
+ int m_iNextPageToTraverse = 0;
+ bool m_bReachedMaxPageLevel = false;
uint32_t m_ParsedPageCount = 0;
std::unique_ptr<CPDF_DocPageData> m_pDocPage;
std::unique_ptr<CPDF_DocRenderData> m_pDocRender;