commit | 8ff506bb99b7ae9ddc10f18481b504577bcb8c47 | [log] [tgz] |
---|---|---|
author | Samir Jindel <sjindel@google.com> | Wed Jun 26 15:17:36 2019 +0000 |
committer | Samir Jindel <sjindel@google.com> | Wed Jun 26 15:17:36 2019 +0000 |
tree | 128b34be7a4c3c8e1f6f54a638828d81a32010fb | |
parent | 722b8391118c701e1df4327b90ed37c1724f855e [diff] |
[vm] Fix windows build after 722b8391. Change-Id: Ie6eed25ae159deaf60852d29bca4e35c0084b1ba Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107403 Reviewed-by: Samir Jindel <sjindel@google.com>
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc index 09e49c0..6fc6940 100644 --- a/runtime/vm/dart_api_impl_test.cc +++ b/runtime/vm/dart_api_impl_test.cc
@@ -82,7 +82,7 @@ // Wait for 5 seconds to let the kernel service load the snapshot, // which should trigger calls to the code observer. - sleep(5); + OS::Sleep(5); EXPECT(was_called); EXPECT(Dart_Cleanup() == NULL);