| Index: runtime/bin/builtin_natives.cc
|
| diff --git a/runtime/bin/builtin_natives.cc b/runtime/bin/builtin_natives.cc
|
| index f737132ab0b1e0fe8f67e1825e35c51994923ffe..19a25d2a3ab8fd20363006439828f92bb950ba4d 100644
|
| --- a/runtime/bin/builtin_natives.cc
|
| +++ b/runtime/bin/builtin_natives.cc
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "bin/builtin.h"
|
| #include "bin/dartutils.h"
|
| +#include "bin/embedded_dart_io.h"
|
| #include "bin/file.h"
|
| #include "bin/io_natives.h"
|
| #include "bin/platform.h"
|
| @@ -93,7 +94,7 @@ void FUNCTION_NAME(Builtin_PrintString)(Dart_NativeArguments args) {
|
| fwrite(chars, 1, length, stdout);
|
| fputs("\n", stdout);
|
| fflush(stdout);
|
| - if (File::capture_stdout()) {
|
| + if (ShouldCaptureStdout()) {
|
| // For now we report print output on the Stdout stream.
|
| uint8_t newline[] = { '\n' };
|
| Dart_ServiceSendDataEvent("Stdout", "WriteEvent", chars, length);
|
|
|