Chromium Code Reviews| Index: runtime/vm/gc_sweeper.cc |
| diff --git a/runtime/vm/gc_sweeper.cc b/runtime/vm/gc_sweeper.cc |
| index 2b4ee58222014150a74493011907008f39c7a3e1..762b5eb3ac453f7afe2fdfef275e7c0397277678 100644 |
| --- a/runtime/vm/gc_sweeper.cc |
| +++ b/runtime/vm/gc_sweeper.cc |
| @@ -164,8 +164,7 @@ void GCSweeper::SweepConcurrent(Isolate* isolate, |
| isolate->heap()->old_space(), |
| first, last, |
| freelist); |
| - ThreadPool* pool = Dart::thread_pool(); |
| - pool->Run(task); |
| + ThreadPool::Run(task); |
| } |
| } // namespace dart |