| Index: runtime/bin/main.cc
|
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
|
| index 72c54602f8cc73276cab6e0b5ac029ba7c17d209..e23c6613666891fe08a7370010f537aa9ff74be5 100644
|
| --- a/runtime/bin/main.cc
|
| +++ b/runtime/bin/main.cc
|
| @@ -13,6 +13,7 @@
|
| #include "bin/dartutils.h"
|
| #include "bin/dbg_connection.h"
|
| #include "bin/directory.h"
|
| +#include "bin/embedded_dart_io.h"
|
| #include "bin/eventhandler.h"
|
| #include "bin/extensions.h"
|
| #include "bin/file.h"
|
| @@ -1061,10 +1062,10 @@ static const char* kStderrStreamId = "Stderr";
|
|
|
| static bool ServiceStreamListenCallback(const char* stream_id) {
|
| if (strcmp(stream_id, kStdoutStreamId) == 0) {
|
| - File::set_capture_stdout(true);
|
| + SetCaptureStdout(true);
|
| return true;
|
| } else if (strcmp(stream_id, kStderrStreamId) == 0) {
|
| - File::set_capture_stderr(true);
|
| + SetCaptureStderr(true);
|
| return true;
|
| }
|
| return false;
|
| @@ -1073,9 +1074,9 @@ static bool ServiceStreamListenCallback(const char* stream_id) {
|
|
|
| static void ServiceStreamCancelCallback(const char* stream_id) {
|
| if (strcmp(stream_id, kStdoutStreamId) == 0) {
|
| - File::set_capture_stdout(false);
|
| + SetCaptureStdout(false);
|
| } else if (strcmp(stream_id, kStderrStreamId) == 0) {
|
| - File::set_capture_stderr(false);
|
| + SetCaptureStderr(false);
|
| }
|
| }
|
|
|
|
|