Index: webkit/glue/webkitplatformsupport_impl.cc |
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc |
index 6089dd184712ec94fd26b8fb5b2b3aedecdc9c9a..2c0a30315cee70e987da1422848257220a91537e 100644 |
--- a/webkit/glue/webkitplatformsupport_impl.cc |
+++ b/webkit/glue/webkitplatformsupport_impl.cc |
@@ -12,6 +12,7 @@ |
#include <vector> |
+#include "base/allocator/allocator_extension.h" |
#include "base/bind.h" |
#include "base/debug/trace_event.h" |
#include "base/memory/scoped_ptr.h" |
@@ -820,6 +821,10 @@ bool WebKitPlatformSupportImpl::processMemorySizesInBytes( |
return CurrentProcessMetrics()->GetMemoryBytes(private_bytes, shared_bytes); |
} |
+bool WebKitPlatformSupportImpl::memoryAllocatorInternalsInBytes(size_t* size) { |
+ return base::allocator::GetAllocatorWasteSize(size); |
+} |
+ |
void WebKitPlatformSupportImpl::SuspendSharedTimer() { |
++shared_timer_suspended_; |
} |