Index: runtime/vm/dart_api_impl_test.cc |
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc |
index 677bdd615128240316859c9a90a5afcbe3d81e28..5b4303707dbdd95e547ec3f2d9f8f576ef3762a7 100644 |
--- a/runtime/vm/dart_api_impl_test.cc |
+++ b/runtime/vm/dart_api_impl_test.cc |
@@ -2970,8 +2970,7 @@ TEST_CASE(IsolateInterrupt) { |
Isolate::SetInterruptCallback(IsolateInterruptTestCallback); |
sync = new Monitor(); |
- Thread* thread = new Thread(BusyLoop_start, 0); |
- EXPECT(thread != NULL); |
+ Thread::Start(BusyLoop_start, 0); |
{ |
MonitorLocker ml(sync); |