summaryrefslogtreecommitdiff
path: root/third_party/libjpeg/fpdfapi_jmemnobs.c
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-15 12:06:28 -0800
committerLei Zhang <thestig@chromium.org>2016-01-15 12:06:28 -0800
commit45f2a47df2d6505c351ee0586969bf142c93bf6b (patch)
treeb9242a35195cd779f38c3566490209024afcb1b9 /third_party/libjpeg/fpdfapi_jmemnobs.c
parent2ac8124c572a6024d0200fb095409edc9549d38a (diff)
downloadpdfium-45f2a47df2d6505c351ee0586969bf142c93bf6b.tar.xz
XFA: Remove ifdefs for _FX_MANAGED_CODE_.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1591563002 .
Diffstat (limited to 'third_party/libjpeg/fpdfapi_jmemnobs.c')
-rw-r--r--third_party/libjpeg/fpdfapi_jmemnobs.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/third_party/libjpeg/fpdfapi_jmemnobs.c b/third_party/libjpeg/fpdfapi_jmemnobs.c
index 201c5d6882..0344f6fd73 100644
--- a/third_party/libjpeg/fpdfapi_jmemnobs.c
+++ b/third_party/libjpeg/fpdfapi_jmemnobs.c
@@ -25,17 +25,9 @@ extern void * malloc JPP((size_t size));
extern void free JPP((void *ptr));
#endif
-#if defined(_FX_MANAGED_CODE_) && defined(__cplusplus)
-extern "C" {
-#endif
-
void* FXMEM_DefaultAlloc(int byte_size, int);
void FXMEM_DefaultFree(void* pointer, int);
-#if defined(_FX_MANAGED_CODE_) && defined(__cplusplus)
-}
-#endif
-
/*
* Memory allocation and freeing are controlled by the regular library
* routines malloc() and free().