Index: content/browser/loader/resource_buffer.cc |
diff --git a/content/browser/loader/resource_buffer.cc b/content/browser/loader/resource_buffer.cc |
index 58839dbb4297d48529d8cc9da891a7a7fce9ec63..9dc63d63a6c0e5360fdddbd86f07a99f31303b8a 100644 |
--- a/content/browser/loader/resource_buffer.cc |
+++ b/content/browser/loader/resource_buffer.cc |
@@ -54,11 +54,7 @@ |
min_alloc_size_ = min_allocation_size; |
max_alloc_size_ = max_allocation_size; |
-#if defined(OS_MACOSX) && !defined(OS_IOS) |
- return shared_mem_.CreateAndMapAnonymousMach(buf_size_); |
-#else |
return shared_mem_.CreateAndMapAnonymous(buf_size_); |
-#endif // defined(OS_MACOSX) && !defined(OS_IOS) |
} |
bool ResourceBuffer::IsInitialized() const { |