Index: chrome/browser/extensions/api/messaging/native_process_launcher_win.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc b/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc |
index 367aeb14054f84649963ea6af55fcea545e46756..fa01111b2e677d2a11f7e41ed5a083d6ed365b32 100644 |
--- a/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc |
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc |
@@ -170,8 +170,8 @@ bool NativeProcessLauncher::LaunchNativeProcess( |
} |
*process = cmd_process.Pass(); |
- *read_file = base::File(stdout_pipe.Take()); |
- *write_file = base::File(stdin_pipe.Take()); |
+ *read_file = base::File::CreateForAsyncHandle(stdout_pipe.Take()); |
+ *write_file = base::File::CreateForAsyncHandle(stdin_pipe.Take()); |
return true; |
} |