summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_dest.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfdoc/cpdf_dest.h')
-rw-r--r--core/fpdfdoc/cpdf_dest.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfdoc/cpdf_dest.h b/core/fpdfdoc/cpdf_dest.h
index 709a2470c5..9f9f08723f 100644
--- a/core/fpdfdoc/cpdf_dest.h
+++ b/core/fpdfdoc/cpdf_dest.h
@@ -12,16 +12,16 @@
#include "core/fxcrt/unowned_ptr.h"
class CPDF_Document;
-class CPDF_Object;
+class CPDF_Array;
class CPDF_Dest {
public:
CPDF_Dest();
CPDF_Dest(const CPDF_Dest& that);
- explicit CPDF_Dest(CPDF_Object* pObj);
+ explicit CPDF_Dest(CPDF_Array* pObj);
~CPDF_Dest();
- CPDF_Object* GetObject() const { return m_pObj.Get(); }
+ CPDF_Array* GetObject() const { return m_pObj.Get(); }
ByteString GetRemoteName() const;
// Deprecated. Use GetDestPageIndex instead.
@@ -46,7 +46,7 @@ class CPDF_Dest {
float* pZoom) const;
private:
- UnownedPtr<CPDF_Object> m_pObj;
+ UnownedPtr<CPDF_Array> m_pObj;
};
#endif // CORE_FPDFDOC_CPDF_DEST_H_