Index: content/child/blink_platform_impl.cc |
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
index e99bb3f585540547c3f4a1749078355f78baea13..f82fde5d37260a20765109806252884c7f4432e4 100644 |
--- a/content/child/blink_platform_impl.cc |
+++ b/content/child/blink_platform_impl.cc |
@@ -777,6 +777,10 @@ size_t BlinkPlatformImpl::ActualMemoryUsageMB() { |
return GetMemoryUsageKB() >> 10; |
} |
+size_t BlinkPlatformImpl::AmountOfPhysicalMemoryMB() { |
+ return static_cast<size_t>(base::SysInfo::AmountOfPhysicalMemoryMB()); |
+} |
+ |
size_t BlinkPlatformImpl::NumberOfProcessors() { |
return static_cast<size_t>(base::SysInfo::NumberOfProcessors()); |
} |