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 b8667d2ab13a96458435e05472b4549449231854..a6e145e0c228cd186ddc57ae77abd50099468a16 100644 |
--- a/content/common/gpu/gpu_memory_manager.cc |
+++ b/content/common/gpu/gpu_memory_manager.cc |
@@ -423,6 +423,10 @@ void GpuMemoryManager::GetVideoMemoryUsageStats( |
base::GetCurrentProcId()].video_memory = GetCurrentUsage(); |
video_memory_usage_stats->process_map[ |
nduca
2013/01/05 05:14:42
as an aside, any reason we say video memory rathe
ccameron
2013/01/07 21:36:34
The changes adding video_memory came about before
|
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) { |