Chromium Code Reviews| Index: src/spaces.cc |
| =================================================================== |
| --- src/spaces.cc (revision 9370) |
| +++ src/spaces.cc (working copy) |
| @@ -766,15 +766,6 @@ |
| } |
| -bool PagedSpace::EnsureCapacity(int capacity) { |
| - while (Capacity() < capacity) { |
| - // Expand the space until it has the required capacity or expansion fails. |
| - if (!Expand()) return false; |
| - } |
| - return true; |
| -} |
| - |
| - |
| #ifdef DEBUG |
| void PagedSpace::Print() { } |
| #endif |