Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: Source/config.h

Issue 345203007: Remove WTF_USE_SYSTEM_MALLOC (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/wtf/FastMalloc.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc. 2 * Copyright (C) 2004, 2005, 2006, 2013 Apple Inc.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * Copyright (C) 2007-2009 Torch Mobile, Inc. 4 * Copyright (C) 2007-2009 Torch Mobile, Inc.
5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. 5 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 #else 92 #else
93 #define WTF_USE_ICCJPEG 1 93 #define WTF_USE_ICCJPEG 1
94 #define WTF_USE_QCMSLIB 1 94 #define WTF_USE_QCMSLIB 1
95 #endif 95 #endif
96 96
97 #if OS(MACOSX) 97 #if OS(MACOSX)
98 #define WTF_USE_CF 1 98 #define WTF_USE_CF 1
99 #define WTF_USE_RUBBER_BANDING 1 99 #define WTF_USE_RUBBER_BANDING 1
100 #endif /* OS(MACOSX) */ 100 #endif /* OS(MACOSX) */
101 101
102 // On Mac, the system allocator is the real OS X system allocator.
103 // On Android, the system allocator is the libc system allocator.
104 // On other platforms, we've overriden the system allocator with tcmalloc.
105 // PartitionAlloc seems to be faster than all of these, so on all platforms
106 // we use it for a subset of performance sensitive Blink classes (tagged by
107 // WTF_MAKE_FAST_ALLOCATED.
108 #define WTF_USE_SYSTEM_MALLOC 0
109
110 #if OS(POSIX) 102 #if OS(POSIX)
111 #define HAVE_SIGNAL_H 1 103 #define HAVE_SIGNAL_H 1
112 #define HAVE_SYS_TIME_H 1 104 #define HAVE_SYS_TIME_H 1
113 #define WTF_USE_PTHREADS 1 105 #define WTF_USE_PTHREADS 1
114 #endif /* OS(POSIX) */ 106 #endif /* OS(POSIX) */
115 107
116 #if !OS(WIN) && !OS(ANDROID) 108 #if !OS(WIN) && !OS(ANDROID)
117 #define HAVE_TM_GMTOFF 1 109 #define HAVE_TM_GMTOFF 1
118 #define HAVE_TM_ZONE 1 110 #define HAVE_TM_ZONE 1
119 #define HAVE_TIMEGM 1 111 #define HAVE_TIMEGM 1
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 143
152 #if COMPILER(MSVC) 144 #if COMPILER(MSVC)
153 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1 145 #define SKIP_STATIC_CONSTRUCTORS_ON_MSVC 1
154 #else 146 #else
155 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1 147 #define SKIP_STATIC_CONSTRUCTORS_ON_GCC 1
156 #endif 148 #endif
157 149
158 #if OS(LINUX) || OS(ANDROID) || OS(WIN) 150 #if OS(LINUX) || OS(ANDROID) || OS(WIN)
159 #define WTF_USE_HARFBUZZ 1 151 #define WTF_USE_HARFBUZZ 1
160 #endif 152 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/wtf/FastMalloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698