summaryrefslogtreecommitdiff
path: root/xfa/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-14 14:31:25 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-14 14:31:25 -0700
commit3da4f9e6bffdf9e5ae4295806446cb69e363eb9c (patch)
tree857b2b535cb4388d5e20e0acfb50d106708374c9 /xfa/src
parent6fc8cbb4ffbc17732045d243e1b95bc04c8a3b33 (diff)
downloadpdfium-3da4f9e6bffdf9e5ae4295806446cb69e363eb9c.tar.xz
Fix XFA compile under clang
TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1052873006
Diffstat (limited to 'xfa/src')
-rw-r--r--xfa/src/fxjse/src/value.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/xfa/src/fxjse/src/value.cpp b/xfa/src/fxjse/src/value.cpp
index cd2fff1595..9bbfdf7c61 100644
--- a/xfa/src/fxjse/src/value.cpp
+++ b/xfa/src/fxjse/src/value.cpp
@@ -10,16 +10,6 @@
#include "class.h"
#include <math.h>
#include "util_inline.h"
-#if !defined(__PLACEMENT_NEW_INLINE) && !defined(_MFC_VER) && !defined(_NEW)
-#define __PLACEMENT_NEW_INLINE
-inline void* operator new(size_t size, void* pos)
-{
- return pos;
-}
-inline void operator delete(void* ptr, void* pos)
-{
-}
-#endif
FX_BOOL FXJSE_Value_IsUndefined (FXJSE_HVALUE hValue)
{
CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue);