summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-04 14:25:15 -0800
committerLei Zhang <thestig@chromium.org>2016-01-04 14:25:15 -0800
commit64f7b672dcc6338e6fb6c150cf28c986eb7e9b12 (patch)
tree1eb1926ed2b2dcf42200212711d5ea7cf28a607a /core/include
parent453d96b5458db02591aeb0f23ea700f00f0dfd71 (diff)
downloadpdfium-64f7b672dcc6338e6fb6c150cf28c986eb7e9b12.tar.xz
Merge to XFA: Remove CPDF_Creator::m_ObjectSize, it's never read from.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1543413002 . (cherry picked from commit 03f5040cbe03cc93e133cb98ecce6725e2679170) Review URL: https://codereview.chromium.org/1555193002 .
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fpdfapi/fpdf_serial.h6
-rw-r--r--core/include/fxcrt/fx_basic.h3
2 files changed, 2 insertions, 7 deletions
diff --git a/core/include/fpdfapi/fpdf_serial.h b/core/include/fpdfapi/fpdf_serial.h
index 4a325341cb..b0989f7f35 100644
--- a/core/include/fpdfapi/fpdf_serial.h
+++ b/core/include/fpdfapi/fpdf_serial.h
@@ -91,15 +91,11 @@ class CPDF_Creator {
FX_DWORD m_dwFlags;
FX_POSITION m_Pos;
FX_FILESIZE m_XrefStart;
-
CFX_FileSizeListArray m_ObjectOffset;
-
- CFX_DWordListArray m_ObjectSize;
CFX_DWordArray m_NewObjNumArray;
-
CPDF_Array* m_pIDArray;
-
int32_t m_FileVersion;
+
friend class CPDF_ObjectStream;
friend class CPDF_XRefStream;
};
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h
index 2e9723de1d..4aa823e06d 100644
--- a/core/include/fxcrt/fx_basic.h
+++ b/core/include/fxcrt/fx_basic.h
@@ -1187,8 +1187,7 @@ class CFX_ListArrayTemplate {
};
typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_FILESIZE)>,
FX_FILESIZE> CFX_FileSizeListArray;
-typedef CFX_ListArrayTemplate<CFX_SortListArray<sizeof(FX_DWORD)>, FX_DWORD>
- CFX_DWordListArray;
+
typedef enum {
Ready,
ToBeContinued,