Index: test/cctest/test-microtask-delivery.cc |
diff --git a/test/cctest/test-microtask-delivery.cc b/test/cctest/test-microtask-delivery.cc |
index 3150ab887253d63df34f179689c39d40e4caf7af..ecec77fbfd3fce7685f463bad498acee554c6675 100644 |
--- a/test/cctest/test-microtask-delivery.cc |
+++ b/test/cctest/test-microtask-delivery.cc |
@@ -105,7 +105,7 @@ |
HarmonyIsolate isolate; |
v8::HandleScope scope(isolate.GetIsolate()); |
LocalContext context1(isolate.GetIsolate()); |
- isolate.GetIsolate()->SetMicrotasksPolicy(v8::MicrotasksPolicy::kExplicit); |
+ isolate.GetIsolate()->SetAutorunMicrotasks(false); |
CompileRun( |
"var obj = { calls: 0 };"); |
v8::Local<v8::Value> obj = CompileRun("obj"); |