Index: runtime/vm/zone_test.cc |
diff --git a/runtime/vm/zone_test.cc b/runtime/vm/zone_test.cc |
index da5f208189d52c6353ea51365dda128a925c06ab..9c437431cc5d5ef47762bc3980d581aabb25399a 100644 |
--- a/runtime/vm/zone_test.cc |
+++ b/runtime/vm/zone_test.cc |
@@ -166,7 +166,7 @@ UNIT_TEST_CASE(ZoneAllocated) { |
TEST_CASE(PrintToString) { |
- StackZone zone(Isolate::Current()); |
+ StackZone zone(Thread::Current()); |
const char* result = zone.GetZone()->PrintToString("Hello %s!", "World"); |
EXPECT_STREQ("Hello World!", result); |
} |