summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_object_avail.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/parser/cpdf_object_avail.h')
-rw-r--r--core/fpdfapi/parser/cpdf_object_avail.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_object_avail.h b/core/fpdfapi/parser/cpdf_object_avail.h
index 040cec7252..f593ea2159 100644
--- a/core/fpdfapi/parser/cpdf_object_avail.h
+++ b/core/fpdfapi/parser/cpdf_object_avail.h
@@ -43,7 +43,8 @@ class CPDF_ObjectAvail {
bool HasObjectParsed(uint32_t obj_num) const;
UnownedPtr<CPDF_ReadValidator> validator_;
- UnownedPtr<CPDF_IndirectObjectHolder> holder_;
+ // TODO(art-snake): Make it UnownedPtr<, after fix document owning issue.
+ CPDF_IndirectObjectHolder* holder_;
MaybeOwned<const CPDF_Object> root_;
std::set<uint32_t> parsed_objnums_;
std::stack<uint32_t> non_parsed_objects_;