Index: content/common/gpu/gpu_memory_manager.cc |
diff --git a/content/common/gpu/gpu_memory_manager.cc b/content/common/gpu/gpu_memory_manager.cc |
index 2f80bd060dc8e0dd3f9a78cd8d344a8e924b84e8..c25414bf9d39c73ae588dfc5f780e9c2a7d55015 100644 |
--- a/content/common/gpu/gpu_memory_manager.cc |
+++ b/content/common/gpu/gpu_memory_manager.cc |
@@ -421,6 +421,10 @@ void GpuMemoryManager::GetVideoMemoryUsageStats( |
base::GetCurrentProcId()].video_memory = GetCurrentUsage(); |
video_memory_usage_stats->process_map[ |
base::GetCurrentProcId()].has_duplicates = true; |
+ |
+ video_memory_usage_stats->bytes_allocated = GetCurrentUsage(); |
+ video_memory_usage_stats->bytes_allocated_historical_max = |
+ bytes_allocated_historical_max_; |
} |
void GpuMemoryManager::SetWindowCount(uint32 window_count) { |