Index: runtime/vm/thread_test.cc |
diff --git a/runtime/vm/thread_test.cc b/runtime/vm/thread_test.cc |
index b571c752eed986b71bd492fab30fc14463ef468a..2b70b2a529e794f9dc6b68a1b6b493ce75471d28 100644 |
--- a/runtime/vm/thread_test.cc |
+++ b/runtime/vm/thread_test.cc |
@@ -337,7 +337,7 @@ TEST_CASE(ManySimpleTasksWithZones) { |
"\"capacity\":%" Pd |
"," |
"\"used\":%" Pd "", |
- top_zone->SizeInBytes(), top_zone->UsedSizeInBytes()); |
+ top_zone->CapacityInBytes(), top_zone->SizeInBytes()); |
EXPECT_SUBSTRING(zone_info_buf, json); |
top_zone = top_zone->previous(); |
} |