Chromium Code Reviews| Index: src/spaces.cc |
| diff --git a/src/spaces.cc b/src/spaces.cc |
| index 13f80d81a87b4f3939a3b6fb3c04809f7cd7c1aa..2faf41912e8e3db3319ed940a5c11c1ad8cad577 100644 |
| --- a/src/spaces.cc |
| +++ b/src/spaces.cc |
| @@ -1950,7 +1950,7 @@ void NewSpace::ReportStatistics() { |
| #endif // DEBUG |
| if (FLAG_log_gc) { |
| - Isolate* isolate = ISOLATE; |
| + Isolate* isolate = heap()->isolate(); |
| DoReportStatistics(isolate, allocated_histogram_, "allocated"); |
| DoReportStatistics(isolate, promoted_histogram_, "promoted"); |
| } |