Index: cc/resources/memory_history.h |
diff --git a/cc/resources/memory_history.h b/cc/resources/memory_history.h |
index daca10f35a0a7a665e1de8ac41be05f88bfd5922..0b8ca38b541df0e01f2de6d4830c51874fc25b53 100644 |
--- a/cc/resources/memory_history.h |
+++ b/cc/resources/memory_history.h |
@@ -24,15 +24,13 @@ class MemoryHistory { |
: total_budget_in_bytes(0), |
bytes_allocated(0), |
bytes_unreleasable(0), |
- bytes_over(0) {} |
+ had_enough_memory(false) {} |
size_t total_budget_in_bytes; |
size_t bytes_allocated; |
size_t bytes_unreleasable; |
- size_t bytes_over; |
- size_t bytes_total() const { |
- return bytes_allocated + bytes_unreleasable + bytes_over; |
- } |
+ bool had_enough_memory; |
+ size_t bytes_total() const { return bytes_allocated + bytes_unreleasable; } |
}; |
void SaveEntry(const Entry& entry); |