Index: runtime/vm/compiler_test.cc |
diff --git a/runtime/vm/compiler_test.cc b/runtime/vm/compiler_test.cc |
index a26031c0ff0f790232451a78ccc301042757d0a2..f2e138cf0f06dc73bf69f101f1c5e2c8fa052ada 100644 |
--- a/runtime/vm/compiler_test.cc |
+++ b/runtime/vm/compiler_test.cc |
@@ -109,7 +109,7 @@ VM_TEST_CASE(CompileFunctionOnHelperThread) { |
while (!func.HasOptimizedCode()) { |
ml.WaitWithSafepointCheck(thread, 1); |
} |
- BackgroundCompiler::Stop(isolate->background_compiler()); |
+ BackgroundCompiler::Stop(isolate); |
} |