Index: third_party/apple_apsl/CFBase.h |
diff --git a/third_party/apple_apsl/CFBase.h b/third_party/apple_apsl/CFBase.h |
index ae3e2fa0d1047f7c8073bba6dd764e4f9f500af7..7080f0ce1fef1fd66a981212bdf97a27356793c7 100644 |
--- a/third_party/apple_apsl/CFBase.h |
+++ b/third_party/apple_apsl/CFBase.h |
@@ -30,9 +30,7 @@ |
#include "CFRuntime.h" |
-struct ChromeCFAllocator { |
- |
- |
+struct ChromeCFAllocator9and10 { |
ChromeCFRuntimeBase _base; |
#if DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED |
size_t (*size)(struct _malloc_zone_t *zone, const void *ptr); /* returns the size of a block or 0 if not in this zone; must be fast, especially for negative answers */ |
@@ -52,4 +50,24 @@ struct ChromeCFAllocator { |
CFAllocatorContext _context; |
}; |
+struct ChromeCFAllocator11 { |
Mark Mentovai
2011/03/17 21:37:44
TODO to fix when we get some for-sure answers?
Avi (use Gerrit)
2011/03/17 22:09:17
Done.
|
+ ChromeCFRuntimeBase _base; |
+ void* presumedSizeFunctionPtr; |
+ void* presumedMallocFunctionPtr; |
+ void* presumedCallocFunctionPtr; |
+ void* presumedVallocFunctionPtr; |
+ void* presumedFreeFunctionPtr; |
+ void* presumedReallocFunctionPtr; |
+ void* presumedDestroyFunctionPtr; |
+ const char *zone_name; |
+ void* presumedBatchMallocFunctionPtr; |
+ void* presumedBatchFreeFunctionPtr; |
+ void* presumedIntrospectStructPtr; |
+ void* unknown1; |
Mark Mentovai
2011/03/17 21:37:44
As discussed.
Avi (use Gerrit)
2011/03/17 22:09:17
Done.
|
+ void* unknown2; |
+ void* unknown3; |
+ CFAllocatorRef _allocator; |
+ CFAllocatorContext _context; |
+}; |
+ |
#endif // THIRD_PARTY_APPLE_APSL_CFBASE_H_ |