diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-05 17:01:49 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-05 17:01:49 -0800 |
commit | 45856be7b6658aaf7fe943d9e0f285811e98b6a7 (patch) | |
tree | 7861558005cadcecbe68a4001381d2ac377ef958 /core/include | |
parent | c2fb35f2bbcf6c8fcf37380000544ae39d9a8cec (diff) | |
download | pdfium-45856be7b6658aaf7fe943d9e0f285811e98b6a7.tar.xz |
Merge to XFA: Replace CPDF_SortObjNumArray with a std::set.
R=tsepez@chromium.org
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1566553002 .
(cherry picked from commit 6caae4d3c6815c5a1e12340734412a3bc7548652)
Review URL: https://codereview.chromium.org/1561853002 .
Diffstat (limited to 'core/include')
-rw-r--r-- | core/include/fpdfapi/fpdf_parser.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h index bcb35b0ad6..1b1b022fc6 100644 --- a/core/include/fpdfapi/fpdf_parser.h +++ b/core/include/fpdfapi/fpdf_parser.h @@ -915,20 +915,7 @@ class IPDF_DataAvail { IFX_FileAvail* m_pFileAvail; IFX_FileRead* m_pFileRead; }; -class CPDF_SortObjNumArray { - public: - void AddObjNum(FX_DWORD dwObjNum); - - FX_BOOL Find(FX_DWORD dwObjNum); - void RemoveAll() { m_number_array.RemoveAll(); } - - protected: - FX_BOOL BinarySearch(FX_DWORD value, int& iNext); - - protected: - CFX_DWordArray m_number_array; -}; enum PDF_PAGENODE_TYPE { PDF_PAGENODE_UNKOWN = 0, PDF_PAGENODE_PAGE, |