Index: base/allocator/allocator_extension.cc |
diff --git a/base/allocator/allocator_extension.cc b/base/allocator/allocator_extension.cc |
index bcfe89beb0ea7339bc52b38621bb3d5094110b4f..0d91bb0e146edbbf2f9f26a5ed0dbec0766241a9 100644 |
--- a/base/allocator/allocator_extension.cc |
+++ b/base/allocator/allocator_extension.cc |
@@ -16,15 +16,6 @@ bool GetAllocatorWasteSize(size_t* size) { |
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(); |
- if (get_stats_function) |
- get_stats_function(buffer, buffer_length); |
- else |
- buffer[0] = '\0'; |
-} |
- |
void ReleaseFreeMemory() { |
thunks::ReleaseFreeMemoryFunction release_free_memory_function = |
thunks::GetReleaseFreeMemoryFunction(); |
@@ -39,12 +30,6 @@ void SetGetAllocatorWasteSizeFunction( |
thunks::SetGetAllocatorWasteSizeFunction(get_allocator_waste_size_function); |
} |
-void SetGetStatsFunction(thunks::GetStatsFunction get_stats_function) { |
- DCHECK_EQ(thunks::GetGetStatsFunction(), |
- reinterpret_cast<thunks::GetStatsFunction>(NULL)); |
- thunks::SetGetStatsFunction(get_stats_function); |
-} |
- |
void SetReleaseFreeMemoryFunction( |
thunks::ReleaseFreeMemoryFunction release_free_memory_function) { |
DCHECK_EQ(thunks::GetReleaseFreeMemoryFunction(), |