Chromium Code Reviews| Index: runtime/bin/stdio.cc |
| diff --git a/runtime/bin/stdio.cc b/runtime/bin/stdio.cc |
| index 916a3b8208f18fe434a43c6b02199c9f4c7588c6..6eb011319c42363a4f087fac6f97ce0bbcf03a25 100644 |
| --- a/runtime/bin/stdio.cc |
| +++ b/runtime/bin/stdio.cc |
| @@ -18,6 +18,7 @@ namespace dart { |
| namespace bin { |
| void FUNCTION_NAME(Stdin_ReadByte)(Dart_NativeArguments args) { |
| + ScopedBlockingCall blocker; |
| Dart_SetReturnValue(args, Dart_NewInteger(Stdin::ReadByte())); |
| } |