Index: base/allocator/allocator_extension.cc |
diff --git a/base/allocator/allocator_extension.cc b/base/allocator/allocator_extension.cc |
index 84deab2c5bc7be20707978a836316504bb4aba97..75918d1c4a61b9222497bec548828a2f1ffcc8d1 100644 |
--- a/base/allocator/allocator_extension.cc |
+++ b/base/allocator/allocator_extension.cc |
@@ -9,15 +9,6 @@ |
namespace base { |
namespace allocator { |
-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(); |
@@ -25,12 +16,6 @@ void ReleaseFreeMemory() { |
release_free_memory_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(), |