From cc4d0a44f3025821f88f3ed1ee78dfdc416487c7 Mon Sep 17 00:00:00 2001 From: tsepez Date: Wed, 16 Nov 2016 14:45:42 -0800 Subject: Move ByteStringPool from document to indirect object holder. Since the indirect object holder is now in the object creation business, this will allow it to intern strings in a subsequent CL. Review-Url: https://codereview.chromium.org/2509773003 --- core/fpdfapi/parser/cpdf_document.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core/fpdfapi/parser/cpdf_document.h') diff --git a/core/fpdfapi/parser/cpdf_document.h b/core/fpdfapi/parser/cpdf_document.h index 73c8666686..1fd13a1c8e 100644 --- a/core/fpdfapi/parser/cpdf_document.h +++ b/core/fpdfapi/parser/cpdf_document.h @@ -13,8 +13,6 @@ #include "core/fpdfapi/parser/cpdf_indirect_object_holder.h" #include "core/fpdfapi/parser/cpdf_object.h" #include "core/fpdfdoc/cpdf_linklist.h" -#include "core/fxcrt/cfx_string_pool_template.h" -#include "core/fxcrt/cfx_weak_ptr.h" #include "core/fxcrt/fx_basic.h" class CFX_Font; @@ -50,13 +48,9 @@ class CPDF_Document : public CPDF_IndirectObjectHolder { CPDF_Parser* GetParser() const { return m_pParser.get(); } CPDF_Dictionary* GetRoot() const { return m_pRootDict; } CPDF_Dictionary* GetInfo() const { return m_pInfoDict; } - CFX_WeakPtr GetByteStringPool() const { - return m_pByteStringPool; - } void DeletePage(int iPage); int GetPageCount() const; - bool IsPageLoaded(int iPage) const; CPDF_Dictionary* GetPage(int iPage); int GetPageIndex(uint32_t objnum); @@ -150,7 +144,6 @@ class CPDF_Document : public CPDF_IndirectObjectHolder { std::unique_ptr m_pCodecContext; std::unique_ptr m_pLinksContext; CFX_ArrayTemplate m_PageList; - CFX_WeakPtr m_pByteStringPool; }; #endif // CORE_FPDFAPI_PARSER_CPDF_DOCUMENT_H_ -- cgit v1.2.3