Fix XFA compile under clang
authorTom Sepez <tsepez@chromium.org>
Tue, 14 Apr 2015 21:31:25 +0000 (14:31 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 14 Apr 2015 21:31:25 +0000 (14:31 -0700)
TBR=thestig@chromium.org

Review URL: https://codereview.chromium.org/1052873006

xfa/src/fxjse/src/value.cpp

index cd2fff1..9bbfdf7 100644 (file)
 #include "class.h"\r
 #include <math.h>\r
 #include "util_inline.h"\r
-#if !defined(__PLACEMENT_NEW_INLINE) && !defined(_MFC_VER) && !defined(_NEW)\r
-#define __PLACEMENT_NEW_INLINE\r
-inline void* operator new(size_t size, void* pos)\r
-{\r
-    return pos;\r
-}\r
-inline void operator delete(void* ptr, void* pos)\r
-{\r
-}\r
-#endif\r
 FX_BOOL FXJSE_Value_IsUndefined        (FXJSE_HVALUE hValue)\r
 {\r
     CFXJSE_Value* lpValue = reinterpret_cast<CFXJSE_Value*>(hValue);\r