| Index: base/process/memory_mac.mm
|
| diff --git a/base/process/memory_mac.mm b/base/process/memory_mac.mm
|
| index 1e1a1ba536fb008f4e3dd87cae71efeca318bbb5..b70e37092bc61867aadf5f4594c04989b87d95b6 100644
|
| --- a/base/process/memory_mac.mm
|
| +++ b/base/process/memory_mac.mm
|
| @@ -252,16 +252,9 @@ bool CanGetContextForCFAllocator() {
|
| }
|
|
|
| CFAllocatorContext* ContextForCFAllocator(CFAllocatorRef allocator) {
|
| - if (base::mac::IsOSSnowLeopard()) {
|
| - ChromeCFAllocatorLeopards* our_allocator =
|
| - const_cast<ChromeCFAllocatorLeopards*>(
|
| - reinterpret_cast<const ChromeCFAllocatorLeopards*>(allocator));
|
| - return &our_allocator->_context;
|
| - } else if (base::mac::IsOSLion() ||
|
| - base::mac::IsOSMountainLion() ||
|
| - base::mac::IsOSMavericks() ||
|
| - base::mac::IsOSYosemite() ||
|
| - base::mac::IsOSElCapitan()) {
|
| + if (base::mac::IsOSLion() || base::mac::IsOSMountainLion() ||
|
| + base::mac::IsOSMavericks() || base::mac::IsOSYosemite() ||
|
| + base::mac::IsOSElCapitan()) {
|
| ChromeCFAllocatorLions* our_allocator =
|
| const_cast<ChromeCFAllocatorLions*>(
|
| reinterpret_cast<const ChromeCFAllocatorLions*>(allocator));
|
|
|