| Index: runtime/vm/thread_test.cc
|
| diff --git a/runtime/vm/thread_test.cc b/runtime/vm/thread_test.cc
|
| index ec998f8980d16df6d998e1b3045f6a8a540c7d4c..33ce9f83db89e6db6212ac18e146925e1894fbac 100644
|
| --- a/runtime/vm/thread_test.cc
|
| +++ b/runtime/vm/thread_test.cc
|
| @@ -570,7 +570,7 @@ TEST_CASE(HelperAllocAndGC) {
|
| // TODO(koda): Currently, the GC only does this for the current thread, (i.e,
|
| // the helper, in this test), but it should be done for all *threads*
|
| // while reaching a safepoint.
|
| - Thread::PrepareForGC();
|
| + isolate->thread_registry()->PrepareForGC();
|
| Dart::thread_pool()->Run(new AllocAndGCTask(isolate, &done_monitor, &done));
|
| {
|
| while (true) {
|
|
|