Index: base/allocator/allocator_extension.cc |
diff --git a/base/allocator/allocator_extension.cc b/base/allocator/allocator_extension.cc |
index bcfe89beb0ea7339bc52b38621bb3d5094110b4f..84deab2c5bc7be20707978a836316504bb4aba97 100644 |
--- a/base/allocator/allocator_extension.cc |
+++ b/base/allocator/allocator_extension.cc |
@@ -9,13 +9,6 @@ |
namespace base { |
namespace allocator { |
-bool GetAllocatorWasteSize(size_t* size) { |
- thunks::GetAllocatorWasteSizeFunction get_allocator_waste_size_function = |
- thunks::GetGetAllocatorWasteSizeFunction(); |
- return get_allocator_waste_size_function != NULL && |
- get_allocator_waste_size_function(size); |
-} |
- |
void GetStats(char* buffer, int buffer_length) { |
DCHECK_GT(buffer_length, 0); |
thunks::GetStatsFunction get_stats_function = thunks::GetGetStatsFunction(); |
@@ -32,13 +25,6 @@ void ReleaseFreeMemory() { |
release_free_memory_function(); |
} |
-void SetGetAllocatorWasteSizeFunction( |
- thunks::GetAllocatorWasteSizeFunction get_allocator_waste_size_function) { |
- DCHECK_EQ(thunks::GetGetAllocatorWasteSizeFunction(), |
- reinterpret_cast<thunks::GetAllocatorWasteSizeFunction>(NULL)); |
- thunks::SetGetAllocatorWasteSizeFunction(get_allocator_waste_size_function); |
-} |
- |
void SetGetStatsFunction(thunks::GetStatsFunction get_stats_function) { |
DCHECK_EQ(thunks::GetGetStatsFunction(), |
reinterpret_cast<thunks::GetStatsFunction>(NULL)); |