diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-27 18:57:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-27 18:57:36 +0000 |
commit | 76525c4a9d2aa6d1f2685d8483e3d491fd361df1 (patch) | |
tree | d2c389924eaaebd1f8df7d78fd50a0e3fcf76ac2 /core/fpdfdoc/cpdf_dest.h | |
parent | 2e6d2b5ca1637242794bf13ad980317d39dd7790 (diff) | |
download | pdfium-76525c4a9d2aa6d1f2685d8483e3d491fd361df1.tar.xz |
Remove unnecessary ToArray() calls and locals in CPDF_Dest.chromium/3535
Rename GetObject() to GetArray() and remove more ToArray() calls.
Change-Id: I754ca72b32c085e1801d3cedcd291ce4d2682359
Reviewed-on: https://pdfium-review.googlesource.com/41353
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_dest.h')
-rw-r--r-- | core/fpdfdoc/cpdf_dest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfdoc/cpdf_dest.h b/core/fpdfdoc/cpdf_dest.h index c30db1183c..ff8458d500 100644 --- a/core/fpdfdoc/cpdf_dest.h +++ b/core/fpdfdoc/cpdf_dest.h @@ -18,10 +18,10 @@ class CPDF_Dest { public: CPDF_Dest(); CPDF_Dest(const CPDF_Dest& that); - explicit CPDF_Dest(const CPDF_Array* pObj); + explicit CPDF_Dest(const CPDF_Array* pArray); ~CPDF_Dest(); - const CPDF_Array* GetObject() const { return m_pObj.Get(); } + const CPDF_Array* GetArray() const { return m_pArray.Get(); } ByteString GetRemoteName() const; int GetDestPageIndex(CPDF_Document* pDoc) const; @@ -41,7 +41,7 @@ class CPDF_Dest { float* pZoom) const; private: - UnownedPtr<const CPDF_Array> const m_pObj; + UnownedPtr<const CPDF_Array> const m_pArray; }; #endif // CORE_FPDFDOC_CPDF_DEST_H_ |