diff options
author | tsepez <tsepez@chromium.org> | 2017-01-10 10:19:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2017-01-10 10:19:04 -0800 |
commit | d18b8674378b104a9b5bb1f015e3f92fc174673e (patch) | |
tree | 6216931229e3b311e6c64008846a33e5135366b7 /core/fpdfdoc/cpdf_interform.h | |
parent | 3128d1c45d8bc313abb8aae151f86bbe62c52e56 (diff) | |
download | pdfium-d18b8674378b104a9b5bb1f015e3f92fc174673e.tar.xz |
Remove some CFX_ArrayTemplate in fpdfapi and fpdfdoc
Also use unique_ptr in one spot while we're at it.
Review-Url: https://codereview.chromium.org/2625483002
Diffstat (limited to 'core/fpdfdoc/cpdf_interform.h')
-rw-r--r-- | core/fpdfdoc/cpdf_interform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_interform.h b/core/fpdfdoc/cpdf_interform.h index f03ffb1e60..b846973435 100644 --- a/core/fpdfdoc/cpdf_interform.h +++ b/core/fpdfdoc/cpdf_interform.h @@ -112,7 +112,8 @@ class CPDF_InterForm { CPDF_Document* const m_pDocument; CPDF_Dictionary* m_pFormDict; - std::map<const CPDF_Dictionary*, CPDF_FormControl*> m_ControlMap; + std::map<const CPDF_Dictionary*, std::unique_ptr<CPDF_FormControl>> + m_ControlMap; std::unique_ptr<CFieldTree> m_pFieldTree; CFX_ByteString m_bsEncoding; IPDF_FormNotify* m_pFormNotify; |