summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_structtree.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-21 15:49:49 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-21 20:17:31 +0000
commit0b95042db2e6dab5876abd12ce485fff0a8e08fe (patch)
tree02132ed53945fde30bfbf230ff4e9b5308dd7732 /core/fpdfdoc/cpdf_structtree.h
parenta5eb9f05b7c3f82630784e043ccf75c4e019b18f (diff)
downloadpdfium-0b95042db2e6dab5876abd12ce485fff0a8e08fe.tar.xz
Rename CFX_RetainPtr to RetainPtr
This CL renames CFX_RetainPtr to RetainPtr and places in the fxcrt namespace. Bug: pdfium:898 Change-Id: I8798a9f79cb0840d3f037e8d04937cedd742914e Reviewed-on: https://pdfium-review.googlesource.com/14616 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_structtree.h')
-rw-r--r--core/fpdfdoc/cpdf_structtree.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fpdfdoc/cpdf_structtree.h b/core/fpdfdoc/cpdf_structtree.h
index 037512acfc..9603620fc1 100644
--- a/core/fpdfdoc/cpdf_structtree.h
+++ b/core/fpdfdoc/cpdf_structtree.h
@@ -11,8 +11,8 @@
#include <memory>
#include <vector>
-#include "core/fxcrt/cfx_retain_ptr.h"
#include "core/fxcrt/cfx_unowned_ptr.h"
+#include "core/fxcrt/retain_ptr.h"
class CPDF_Dictionary;
class CPDF_Document;
@@ -35,17 +35,17 @@ class CPDF_StructTree {
private:
void LoadPageTree(const CPDF_Dictionary* pPageDict);
- CFX_RetainPtr<CPDF_StructElement> AddPageNode(
+ RetainPtr<CPDF_StructElement> AddPageNode(
CPDF_Dictionary* pElement,
- std::map<CPDF_Dictionary*, CFX_RetainPtr<CPDF_StructElement>>* map,
+ std::map<CPDF_Dictionary*, RetainPtr<CPDF_StructElement>>* map,
int nLevel);
bool AddTopLevelNode(CPDF_Dictionary* pDict,
- const CFX_RetainPtr<CPDF_StructElement>& pElement);
+ const RetainPtr<CPDF_StructElement>& pElement);
CFX_UnownedPtr<const CPDF_Dictionary> const m_pTreeRoot;
CFX_UnownedPtr<const CPDF_Dictionary> const m_pRoleMap;
CFX_UnownedPtr<const CPDF_Dictionary> m_pPage;
- std::vector<CFX_RetainPtr<CPDF_StructElement>> m_Kids;
+ std::vector<RetainPtr<CPDF_StructElement>> m_Kids;
};
#endif // CORE_FPDFDOC_CPDF_STRUCTTREE_H_