Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: runtime/bin/process_patch.dart

Issue 2761673002: [dart:io][windows] Use WriteFile instead of _write (Closed)
Patch Set: Format stdio.dart Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | sdk/lib/io/file_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_patch.dart
diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart
index 0366de2b0e0ba4b16355113eb8bbd42c62bf33cb..03c0462f2b9b85fda3f5cde74549b09ce2e31331 100644
--- a/runtime/bin/process_patch.dart
+++ b/runtime/bin/process_patch.dart
@@ -257,7 +257,7 @@ class _ProcessImpl extends _ProcessImplNativeWrapper implements Process {
if (mode != ProcessStartMode.DETACHED) {
// stdin going to process.
- _stdin = new _StdSocketSink(new _Socket._writePipe());
+ _stdin = new _StdSink(new _Socket._writePipe());
_stdin._sink._owner = this;
// stdout coming from process.
_stdout = new _StdStream(new _Socket._readPipe());
@@ -516,7 +516,7 @@ class _ProcessImpl extends _ProcessImplNativeWrapper implements Process {
List<String> _environment;
ProcessStartMode _mode;
// Private methods of Socket are used by _in, _out, and _err.
- _StdSocketSink _stdin;
+ _StdSink _stdin;
_StdStream _stdout;
_StdStream _stderr;
Socket _exitHandler;
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | sdk/lib/io/file_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698