summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-29 13:00:05 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-29 13:00:05 -0500
commitba9d15c048c3daf5926bef6737954b472dbbb88f (patch)
tree80d6e7a2e67a97ae53afdf264a3395331c28ab17
parent5803aff484dc9ae1c41cffc1d8858a68a0e6790a (diff)
downloadpdfium-ba9d15c048c3daf5926bef6737954b472dbbb88f.tar.xz
Remove #ifdef _FXEMB as it is not defined
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1749783002 .
-rw-r--r--xfa/src/fgas/src/crt/fx_memory.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/src/fgas/src/crt/fx_memory.cpp b/xfa/src/fgas/src/crt/fx_memory.cpp
index 23d9e2953d..1b61616b6e 100644
--- a/xfa/src/fgas/src/crt/fx_memory.cpp
+++ b/xfa/src/fgas/src/crt/fx_memory.cpp
@@ -13,10 +13,8 @@ IFX_MEMAllocator* FX_CreateAllocator(FX_ALLOCTYPE eType,
size_t chunkSize,
size_t blockSize) {
switch (eType) {
-#ifndef _FXEMB
case FX_ALLOCTYPE_Dynamic:
return new CFX_DynamicStore(chunkSize);
-#endif
case FX_ALLOCTYPE_Default:
return new CFX_DefStore();
case FX_ALLOCTYPE_Static:
@@ -176,7 +174,6 @@ size_t CFX_FixedStore::SetDefChunkSize(size_t iChunkSize) {
m_iDefChunkSize = FX_4BYTEALIGN(iChunkSize);
return v;
}
-#ifndef _FXEMB
CFX_DynamicStore::CFX_DynamicStore(size_t iDefChunkSize)
: m_iDefChunkSize(iDefChunkSize), m_pChunk(NULL) {
FXSYS_assert(m_iDefChunkSize != 0);
@@ -318,4 +315,3 @@ size_t CFX_DynamicStore::SetDefChunkSize(size_t size) {
m_iDefChunkSize = size;
return v;
}
-#endif