Index: content/child/blink_platform_impl.cc |
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
index b21a72204be2e937d5845f1ea8c1c7d68e33adaf..ccaa67e7eab447108e8cf080706ca076c4a2fcdf 100644 |
--- a/content/child/blink_platform_impl.cc |
+++ b/content/child/blink_platform_impl.cc |
@@ -8,7 +8,6 @@ |
#include <vector> |
-#include "base/allocator/allocator_extension.h" |
#include "base/bind.h" |
#include "base/files/file_path.h" |
#include "base/location.h" |
@@ -16,7 +15,6 @@ |
#include "base/memory/singleton.h" |
#include "base/metrics/histogram.h" |
#include "base/metrics/sparse_histogram.h" |
-#include "base/process/process_metrics.h" |
#include "base/rand_util.h" |
#include "base/single_thread_task_runner.h" |
#include "base/strings/string_number_conversions.h" |
@@ -1251,18 +1249,6 @@ size_t BlinkPlatformImpl::numberOfProcessors() { |
return static_cast<size_t>(base::SysInfo::NumberOfProcessors()); |
} |
-bool BlinkPlatformImpl::processMemorySizesInBytes( |
- size_t* private_bytes, |
- size_t* shared_bytes) { |
- scoped_ptr<base::ProcessMetrics> current_process_metrics( |
- base::ProcessMetrics::CreateCurrentProcessMetrics()); |
- return current_process_metrics->GetMemoryBytes(private_bytes, shared_bytes); |
-} |
- |
-bool BlinkPlatformImpl::memoryAllocatorWasteInBytes(size_t* size) { |
- return base::allocator::GetAllocatorWasteSize(size); |
-} |
- |
blink::WebDiscardableMemory* |
BlinkPlatformImpl::allocateAndLockDiscardableMemory(size_t bytes) { |
return content::WebDiscardableMemoryImpl::CreateLockedMemory(bytes).release(); |