diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-04 06:13:55 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-04 06:13:55 +0000 |
commit | 8509d3eaec1b2fac27a24de7bc586ad12b7bb178 (patch) | |
tree | 820b680b9b313b3788165a3de7e4c08901f2f6e4 /xfa/fxfa/parser/cxfa_document_parser.h | |
parent | 56b08b1f2bb8a4eb9330963bff3a626603499730 (diff) | |
download | pdfium-8509d3eaec1b2fac27a24de7bc586ad12b7bb178.tar.xz |
Make a CXFA_DocumentParser member Unowned.
Fix/cleanup ctors/dtors in related classes.
Change-Id: Ia05ec9b6892fd7d19d0a417fc1226a407e3ac260
Reviewed-on: https://pdfium-review.googlesource.com/20216
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_document_parser.h b/xfa/fxfa/parser/cxfa_document_parser.h index 6629101457..35d71603cb 100644 --- a/xfa/fxfa/parser/cxfa_document_parser.h +++ b/xfa/fxfa/parser/cxfa_document_parser.h @@ -31,7 +31,7 @@ class CXFA_DocumentParser { CXFA_Document* GetDocument() const; private: - CXFA_FFNotify* const m_pNotify; + UnownedPtr<CXFA_FFNotify> const m_pNotify; std::unique_ptr<CXFA_Document> m_pDocument; CXFA_SimpleParser m_nodeParser; }; |