Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1595)

Unified Diff: cc/resources/tile_priority.h

Issue 255533002: cc: Remove unused_memory_limit_in_bytes field from GlobalStateThatImpactsTilePriority. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/resources/tile_priority.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_priority.h
diff --git a/cc/resources/tile_priority.h b/cc/resources/tile_priority.h
index 31b8e5defb028ccfe2153f9248cba3bd9ee3292b..f8ac9c6c7b0e7a148e929b10a6ab8fbe0392cd24 100644
--- a/cc/resources/tile_priority.h
+++ b/cc/resources/tile_priority.h
@@ -146,7 +146,6 @@ class GlobalStateThatImpactsTilePriority {
: memory_limit_policy(ALLOW_NOTHING),
soft_memory_limit_in_bytes(0),
hard_memory_limit_in_bytes(0),
- unused_memory_limit_in_bytes(0),
num_resources_limit(0),
tree_priority(SAME_PRIORITY_FOR_BOTH_TREES) {}
@@ -154,7 +153,6 @@ class GlobalStateThatImpactsTilePriority {
size_t soft_memory_limit_in_bytes;
size_t hard_memory_limit_in_bytes;
- size_t unused_memory_limit_in_bytes;
size_t num_resources_limit;
TreePriority tree_priority;
@@ -163,7 +161,6 @@ class GlobalStateThatImpactsTilePriority {
return memory_limit_policy == other.memory_limit_policy &&
soft_memory_limit_in_bytes == other.soft_memory_limit_in_bytes &&
hard_memory_limit_in_bytes == other.hard_memory_limit_in_bytes &&
- unused_memory_limit_in_bytes == other.unused_memory_limit_in_bytes &&
num_resources_limit == other.num_resources_limit &&
tree_priority == other.tree_priority;
}
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/resources/tile_priority.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698