Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index baa54e94a43dfa317305f38a414f6ee7bb2a180d..a21f370fb7056e7b41f154e4cb24ef48cf6feeb9 100644 |
--- a/content/app/content_main_runner.cc |
+++ b/content/app/content_main_runner.cc |
@@ -433,6 +433,10 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
MallocExtension::instance()->GetStats(buffer, buffer_length); |
} |
+ static bool GetNumericPropertyThunk(const char* name, size_t* value) { |
+ return MallocExtension::instance()->GetNumericProperty(name, value); |
+ } |
+ |
static void ReleaseFreeMemoryThunk() { |
MallocExtension::instance()->ReleaseFreeMemory(); |
} |
@@ -470,6 +474,7 @@ class ContentMainRunnerImpl : public ContentMainRunner { |
base::allocator::SetGetAllocatorWasteSizeFunction( |
GetAllocatorWasteSizeThunk); |
base::allocator::SetGetStatsFunction(GetStatsThunk); |
+ base::allocator::SetGetNumericPropertyFunction(GetNumericPropertyThunk); |
base::allocator::SetReleaseFreeMemoryFunction(ReleaseFreeMemoryThunk); |
// Provide optional hook for monitoring allocation quantities on a |