Index: content/common/gpu/gpu_memory_manager_client.h |
diff --git a/content/common/gpu/gpu_memory_manager_client.h b/content/common/gpu/gpu_memory_manager_client.h |
index 287c0fe65e64155116b0c6bda93fdc9821a4d5a1..87fba6ee0d2b6af0832b301842e15f141fd39213 100644 |
--- a/content/common/gpu/gpu_memory_manager_client.h |
+++ b/content/common/gpu/gpu_memory_manager_client.h |
@@ -84,14 +84,15 @@ class CONTENT_EXPORT GpuMemoryManagerClientState { |
// Statistics about memory usage. |
GpuManagedMemoryStats managed_memory_stats_; |
- // When managed_memory_stats_.bytes_nice_to_have leaves the range |
+ // When managed_memory_stats_.bytes_nicetohave leaves the range |
// [low_, high_], then re-adjust memory limits. |
- size_t bytes_nice_to_have_limit_low_; |
- size_t bytes_nice_to_have_limit_high_; |
+ size_t bytes_nicetohave_limit_low_; |
+ size_t bytes_nicetohave_limit_high_; |
- // The budget for this client. |
- size_t bytes_budget_when_visible_; |
- size_t bytes_budget_when_backgrounded_; |
+ // The allocation for this client, used transiently during memory policy |
+ // calculation. |
+ size_t bytes_allocation_when_visible_; |
+ size_t bytes_allocation_when_nonvisible_; |
// Set to disable allocating a frontbuffer or to disable allocations |
// for clients that don't have surfaces. |