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

Unified Diff: base/allocator/allocator_shim_override_mac_symbols.h

Issue 2703803004: macOS: Shim all malloc zones. (Closed)
Patch Set: Rebase. 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_override_mac_symbols.h
diff --git a/base/allocator/allocator_shim_override_mac_symbols.h b/base/allocator/allocator_shim_override_mac_symbols.h
index 5ae9b2a555830f1c58514a2269fd90d8830a5026..dceba48f6358582383e303fe81ab7b4629c39002 100644
--- a/base/allocator/allocator_shim_override_mac_symbols.h
+++ b/base/allocator/allocator_shim_override_mac_symbols.h
@@ -8,6 +8,7 @@
#define BASE_ALLOCATOR_ALLOCATOR_SHIM_OVERRIDE_MAC_SYMBOLS_H_
#include "base/allocator/allocator_interception_mac.h"
+#include "base/allocator/malloc_zone_functions_mac.h"
#include "third_party/apple_apsl/malloc.h"
namespace base {
@@ -53,7 +54,7 @@ void OverrideMacSymbols() {
ShimFreeDefiniteSize(ptr, size, zone);
};
- base::allocator::ReplaceFunctionsForDefaultZone(&new_functions);
+ base::allocator::ReplaceFunctionsForStoredZones(&new_functions);
}
} // namespace allocator
« no previous file with comments | « base/allocator/allocator_shim_default_dispatch_to_mac_zoned_malloc.cc ('k') | base/allocator/malloc_zone_functions_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698