Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / config.h
index e70abd9..fb4e252 100644 (file)
@@ -86,7 +86,6 @@
 /* Operating environments */
 
 #if OS(ANDROID)
-#define WTF_USE_NATIVE_FULLSCREEN_VIDEO 1
 #define WTF_USE_LOW_QUALITY_IMAGE_INTERPOLATION 1
 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_DITHERING 1
 #define WTF_USE_LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING 1
 #define WTF_USE_RUBBER_BANDING 1
 #endif /* OS(MACOSX) */
 
-// On Mac, the system allocator is the real OS X system allocator.
-// On Android, the system allocator is the libc system allocator.
-// On other platforms, we've overriden the system allocator with tcmalloc.
-// PartitionAlloc seems to be faster than all of these, so on all platforms
-// we use it for a subset of performance sensitive Blink classes (tagged by
-// WTF_MAKE_FAST_ALLOCATED.
-#define WTF_USE_SYSTEM_MALLOC 0
-
 #if OS(POSIX)
 #define HAVE_SIGNAL_H 1
 #define HAVE_SYS_TIME_H 1
 #endif
 
 #if OS(MACOSX)
-#define HAVE_PTHREAD_SETNAME_NP 1
 #define WTF_USE_NEW_THEME 1
 #endif /* OS(MACOSX) */
 
 
 #ifdef __cplusplus
 
-// These undefs match up with defines in WebCorePrefixMac.h for Mac OS X.
+// These undefs match up with defines in build/mac/Prefix.h for Mac OS X.
 // Helps us catch if anyone uses new or delete by accident in code and doesn't include "config.h".
 #undef new
 #undef delete
-#include "wtf/FastMalloc.h"
-
 #include <ciso646>
+#include <cstddef>
 
 #endif
-
-#if COMPILER(MSVC)
-#define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1
-#else
-#define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1
-#endif
-
-#if OS(LINUX) || OS(ANDROID) || OS(WIN)
-#define WTF_USE_HARFBUZZ 1
-#endif