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

Unified Diff: base/allocator/allocator_shim.h

Issue 2676093003: mac: Hook up allocator shim during app startup. (Closed)
Patch Set: Comments from primiano. 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.h
diff --git a/base/allocator/allocator_shim.h b/base/allocator/allocator_shim.h
index f43ec299d3cfc868b8def2fcd55be6db7342c77e..44466a1d5cb3d12ed7e87a420c1584031b981824 100644
--- a/base/allocator/allocator_shim.h
+++ b/base/allocator/allocator_shim.h
@@ -114,6 +114,8 @@ BASE_EXPORT void RemoveAllocatorDispatchForTesting(AllocatorDispatch* dispatch);
#if defined(OS_MACOSX)
// On macOS, the allocator shim needs to be turned on during runtime.
BASE_EXPORT void InitializeAllocatorShim();
+
+extern bool g_is_mac_shim_layer_initialized;
Primiano Tucci (use gerrit) 2017/02/07 11:58:08 see comment above, I don't think we need this
erikchen 2017/02/09 23:49:04 Done.
#endif // defined(OS_MACOSX)
} // namespace allocator

Powered by Google App Engine
This is Rietveld 408576698