diff options
author | tsepez <tsepez@chromium.org> | 2016-09-21 14:04:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-21 14:04:25 -0700 |
commit | 298880f334ff1b8a1f3414d8ea8c2103e7755300 (patch) | |
tree | 19aa99e6c7835f24baad0c911b4637c3e6aa0a1d /core/fpdfapi/fpdf_edit/include | |
parent | 17103b84ebde9ab2b05dff38d473b5d44f723ff2 (diff) | |
download | pdfium-298880f334ff1b8a1f3414d8ea8c2103e7755300.tar.xz |
Use unique_ptr<CPDF_Object, ReleaseDeleter<>> in more placeschromium/2868
Review-Url: https://codereview.chromium.org/2358243002
Diffstat (limited to 'core/fpdfapi/fpdf_edit/include')
-rw-r--r-- | core/fpdfapi/fpdf_edit/include/cpdf_creator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_edit/include/cpdf_creator.h b/core/fpdfapi/fpdf_edit/include/cpdf_creator.h index 285efff4b0..d922e216ff 100644 --- a/core/fpdfapi/fpdf_edit/include/cpdf_creator.h +++ b/core/fpdfapi/fpdf_edit/include/cpdf_creator.h @@ -94,7 +94,7 @@ class CPDF_Creator { FX_FILESIZE m_XrefStart; CFX_FileSizeListArray m_ObjectOffset; CFX_ArrayTemplate<uint32_t> m_NewObjNumArray; - CPDF_Array* m_pIDArray; + std::unique_ptr<CPDF_Array, ReleaseDeleter<CPDF_Array>> m_pIDArray; int32_t m_FileVersion; }; |