| Index: third_party/WebKit/Source/wtf/PartitionAllocator.h
|
| diff --git a/third_party/WebKit/Source/wtf/DefaultAllocator.h b/third_party/WebKit/Source/wtf/PartitionAllocator.h
|
| similarity index 95%
|
| rename from third_party/WebKit/Source/wtf/DefaultAllocator.h
|
| rename to third_party/WebKit/Source/wtf/PartitionAllocator.h
|
| index 099014d08af88acd32ff66d6043b430d5c7ceaa3..de84fb7d8beb4b3354176ce63ebb05caa9ea8b50 100644
|
| --- a/third_party/WebKit/Source/wtf/DefaultAllocator.h
|
| +++ b/third_party/WebKit/Source/wtf/PartitionAllocator.h
|
| @@ -28,8 +28,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WTF_DefaultAllocator_h
|
| -#define WTF_DefaultAllocator_h
|
| +#ifndef WTF_PartitionAllocator_h
|
| +#define WTF_PartitionAllocator_h
|
|
|
| // This is the allocator that is used for allocations that are not on the
|
| // traced, garbage collected heap. It uses FastMalloc for collections,
|
| @@ -44,11 +44,11 @@
|
|
|
| namespace WTF {
|
|
|
| -class DefaultAllocatorDummyVisitor;
|
| +class PartitionAllocatorDummyVisitor;
|
|
|
| -class WTF_EXPORT DefaultAllocator {
|
| +class WTF_EXPORT PartitionAllocator {
|
| public:
|
| - typedef DefaultAllocatorDummyVisitor Visitor;
|
| + typedef PartitionAllocatorDummyVisitor Visitor;
|
| static const bool isGarbageCollected = false;
|
|
|
| template<typename T>
|
| @@ -185,7 +185,7 @@ private:
|
|
|
| // The Windows compiler seems to be very eager to instantiate things it won't
|
| // need, so unless we have this class we get compile errors.
|
| -class DefaultAllocatorDummyVisitor {
|
| +class PartitionAllocatorDummyVisitor {
|
| public:
|
| template<typename T> inline bool isHeapObjectAlive(T obj)
|
| {
|
| @@ -213,6 +213,6 @@ public: \
|
| private: \
|
| typedef int __thisIsHereToForceASemicolonAfterThisMacro
|
|
|
| -using WTF::DefaultAllocator;
|
| +using WTF::PartitionAllocator;
|
|
|
| -#endif // WTF_DefaultAllocator_h
|
| +#endif // WTF_PartitionAllocator_h
|
|
|