| Index: base/process_util_unittest_mac.h
|
| ===================================================================
|
| --- base/process_util_unittest_mac.h (revision 47162)
|
| +++ base/process_util_unittest_mac.h (working copy)
|
| @@ -14,13 +14,19 @@
|
|
|
| // Allocates memory via system allocators. Alas, they take a _signed_ size for
|
| // allocation.
|
| -void* AllocateViaCFAllocatorSystemDefault(int32 size);
|
| -void* AllocateViaCFAllocatorMalloc(int32 size);
|
| -void* AllocateViaCFAllocatorMallocZone(int32 size);
|
| +void* AllocateViaCFAllocatorSystemDefault(ssize_t size);
|
| +void* AllocateViaCFAllocatorMalloc(ssize_t size);
|
| +void* AllocateViaCFAllocatorMallocZone(ssize_t size);
|
|
|
| +#if !defined(ARCH_CPU_64_BITS)
|
| +// See process_util_unittest_mac.mm for an explanation of why this function
|
| +// isn't implemented for the 64-bit environment.
|
| +
|
| // Allocates a huge Objective C object.
|
| void* AllocatePsychoticallyBigObjCObject();
|
|
|
| -} // namespace base
|
| +#endif // !ARCH_CPU_64_BITS
|
|
|
| +} // namespace base
|
| +
|
| #endif // BASE_PROCESS_UTIL_UNITTEST_MAC_H_
|
|
|