summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_structelement.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-23 16:18:28 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-24 01:28:39 +0000
commit033e565d8244953afe8eab3d0c7ee1ed9863c921 (patch)
tree410cbe152379180ff2fd3411b289be6fa31e3c82 /core/fpdfdoc/cpdf_structelement.h
parent655c783b8077f18e17418a3aab9b5a07c8055049 (diff)
downloadpdfium-033e565d8244953afe8eab3d0c7ee1ed9863c921.tar.xz
Convert to CFX_UnownedPtr, part 5
Change-Id: Ibdb20fca7e4daae9d61286df4801ac02faf3b281 Reviewed-on: https://pdfium-review.googlesource.com/5831 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_structelement.h')
-rw-r--r--core/fpdfdoc/cpdf_structelement.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_structelement.h b/core/fpdfdoc/cpdf_structelement.h
index c65363db53..d8820a141c 100644
--- a/core/fpdfdoc/cpdf_structelement.h
+++ b/core/fpdfdoc/cpdf_structelement.h
@@ -10,6 +10,7 @@
#include <vector>
#include "core/fxcrt/cfx_retain_ptr.h"
+#include "core/fxcrt/cfx_unowned_ptr.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxge/fx_dib.h"
@@ -27,7 +28,7 @@ class CPDF_StructKid {
enum { Invalid, Element, PageContent, StreamContent, Object } m_Type;
CFX_RetainPtr<CPDF_StructElement> m_pElement; // For Element.
- CPDF_Dictionary* m_pDict; // For Element.
+ CFX_UnownedPtr<CPDF_Dictionary> m_pDict; // For Element.
uint32_t m_PageObjNum; // For PageContent, StreamContent, Object.
uint32_t m_RefObjNum; // For StreamContent, Object.
uint32_t m_ContentId; // For PageContent, StreamContent.