Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 7ce2ae919ac2bd943dc69e538a1e0b36f1fdc226..1b7a189539caea07b66e15e7d11b9e7908fbfbfd 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -1309,8 +1309,8 @@ void PagedSpace::EmptyAllocationInfo() { |
Free(current_top, static_cast<int>(current_limit - current_top)); |
} |
-void PagedSpace::IncreaseCapacity(int size) { |
- accounting_stats_.ExpandSpace(size); |
+void PagedSpace::IncreaseCapacity(size_t bytes) { |
+ accounting_stats_.ExpandSpace(bytes); |
} |
void PagedSpace::ReleasePage(Page* page) { |