Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1120)

Unified Diff: core/src/fxcrt/fx_basic_array.cpp

Issue 1631863003: Merge to XFA: Remove CFX_SegmentedArray use from master. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/src/fpdftext/text_int.h ('k') | third_party/base/stl_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxcrt/fx_basic_array.cpp
diff --git a/core/src/fxcrt/fx_basic_array.cpp b/core/src/fxcrt/fx_basic_array.cpp
index 9c4aa0fa35af35ba8886cbaaafad8b3ea42e4350..18e2bd26d24856c0b2902329dba432045736f306 100644
--- a/core/src/fxcrt/fx_basic_array.cpp
+++ b/core/src/fxcrt/fx_basic_array.cpp
@@ -134,6 +134,7 @@ const void* CFX_BasicArray::GetDataPtr(int index) const {
}
return m_pData + index * m_nUnitSize;
}
+#ifdef PDF_ENABLE_XFA
CFX_BaseSegmentedArray::CFX_BaseSegmentedArray(int unit_size,
int segment_units,
int index_size)
@@ -338,3 +339,4 @@ void CFX_BaseSegmentedArray::Delete(int index, int count) {
}
m_DataSize -= count;
}
+#endif // PDF_ENABLE_XFA
« no previous file with comments | « core/src/fpdftext/text_int.h ('k') | third_party/base/stl_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698