Index: src/extensions/statistics-extension.cc |
diff --git a/src/extensions/statistics-extension.cc b/src/extensions/statistics-extension.cc |
index e6649a603a9f2b88fb46e5441f09a925db8ac2ea..387bd31e682764c6ed0f6227cc09c18101a1ea28 100644 |
--- a/src/extensions/statistics-extension.cc |
+++ b/src/extensions/statistics-extension.cc |
@@ -135,8 +135,7 @@ void StatisticsExtension::GetCounters( |
AddNumber(args.GetIsolate(), result, numbers[i].number, numbers[i].name); |
} |
- AddNumber64(args.GetIsolate(), result, |
- heap->amount_of_external_allocated_memory(), |
+ AddNumber64(args.GetIsolate(), result, heap->external_memory(), |
"amount_of_external_allocated_memory"); |
args.GetReturnValue().Set(result); |
} |