Index: runtime/vm/allocation_test.cc |
diff --git a/runtime/vm/allocation_test.cc b/runtime/vm/allocation_test.cc |
index 04b4b809b31df3e1c864627f3a0cd32078a7efb7..f8fe5a04fcbc7fae0badf7918f026fd193f8a687 100644 |
--- a/runtime/vm/allocation_test.cc |
+++ b/runtime/vm/allocation_test.cc |
@@ -153,7 +153,7 @@ static void StackResourceLongJumpHelper(int* ptr, LongJumpScope* jump) { |
TEST_CASE(StackResourceLongJump) { |
- LongJumpScope* base = Isolate::Current()->long_jump_base(); |
+ LongJumpScope* base = Thread::Current()->long_jump_base(); |
{ |
LongJumpScope jump; |
int data = 1; |
@@ -163,7 +163,7 @@ TEST_CASE(StackResourceLongJump) { |
} |
EXPECT_EQ(7, data); |
} |
- ASSERT(base == Isolate::Current()->long_jump_base()); |
+ ASSERT(base == Thread::Current()->long_jump_base()); |
} |
} // namespace dart |