Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.h

Issue 2703803004: macOS: Shim all malloc zones. (Closed)
Patch Set: Add a memory barrier. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.h
diff --git a/base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.h b/base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.h
index 9e26d826d6fbe32f03860014a69d464821a49b51..a69eb940143948a852d6d3f6a49e7d5d1b9e6a1b 100644
--- a/base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.h
+++ b/base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.h
@@ -7,6 +7,8 @@
#include "base/allocator/allocator_interception_mac.h"
+#include "base/allocator/malloc_zone_aggregator_mac.h"
+
namespace base {
namespace allocator {
@@ -15,6 +17,8 @@ namespace allocator {
// the default malloc zone is changed to have its intended effect.
void InitializeDefaultDispatchToMacAllocator();
+extern MallocZoneAggregator g_aggregator;
+
} // namespace allocator
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698