summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_document_parser.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-04 06:04:35 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-04 06:04:35 +0000
commit56b08b1f2bb8a4eb9330963bff3a626603499730 (patch)
tree406c3453ad65a08c56aa3c15b6f70d7b149b84a7 /xfa/fxfa/parser/cxfa_document_parser.h
parentb8d86800487df4021860f08407c323ed82243c79 (diff)
downloadpdfium-56b08b1f2bb8a4eb9330963bff3a626603499730.tar.xz
Make CXFA_SimpleParser members const or Unowned.
Fix ownership issues, and simplify CXFA_SimpleParser ctors. Change-Id: Ie083080297c5c2586ae3e6a8355839fcb86ee9ea Reviewed-on: https://pdfium-review.googlesource.com/20130 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document_parser.h')
-rw-r--r--xfa/fxfa/parser/cxfa_document_parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_document_parser.h b/xfa/fxfa/parser/cxfa_document_parser.h
index a3c2365b7b..6629101457 100644
--- a/xfa/fxfa/parser/cxfa_document_parser.h
+++ b/xfa/fxfa/parser/cxfa_document_parser.h
@@ -31,9 +31,9 @@ class CXFA_DocumentParser {
CXFA_Document* GetDocument() const;
private:
- CXFA_SimpleParser m_nodeParser;
- CXFA_FFNotify* m_pNotify;
+ CXFA_FFNotify* const m_pNotify;
std::unique_ptr<CXFA_Document> m_pDocument;
+ CXFA_SimpleParser m_nodeParser;
};
#endif // XFA_FXFA_PARSER_CXFA_DOCUMENT_PARSER_H_