Chromium Code Reviews| Index: src/allocation-tracker.cc |
| diff --git a/src/allocation-tracker.cc b/src/allocation-tracker.cc |
| index 0822c1f4da63ffdcf15b8cfaec36a5bc471de534..3125b0215ae597c03e667001dece91957cfb4e1a 100644 |
| --- a/src/allocation-tracker.cc |
| +++ b/src/allocation-tracker.cc |
| @@ -176,8 +176,7 @@ void AddressToTraceMap::RemoveRange(Address start, Address end) { |
| break; |
| } |
| ++it; |
| - } |
| - while (it != ranges_.end()); |
| + } while (it != ranges_.end()); |
| ranges_.erase(to_remove_begin, it); |