| Index: chromeos/process_proxy/process_proxy.cc
|
| diff --git a/chromeos/process_proxy/process_proxy.cc b/chromeos/process_proxy/process_proxy.cc
|
| index 881ea5abdfd276fdb603d61ac3781ce7e78d7b4c..b1021f4eeefd322e531fc78c273ee3f8e89b718f 100644
|
| --- a/chromeos/process_proxy/process_proxy.cc
|
| +++ b/chromeos/process_proxy/process_proxy.cc
|
| @@ -160,10 +160,8 @@ bool ProcessProxy::Write(const std::string& text) {
|
|
|
| // We don't want to write '\0' to the pipe.
|
| size_t data_size = text.length() * sizeof(*text.c_str());
|
| - int bytes_written =
|
| - base::WriteFileDescriptor(pt_pair_[PT_MASTER_FD],
|
| - text.c_str(), data_size);
|
| - return (bytes_written == static_cast<int>(data_size));
|
| + return base::WriteFileDescriptor(
|
| + pt_pair_[PT_MASTER_FD], text.c_str(), data_size);
|
| }
|
|
|
| bool ProcessProxy::OnTerminalResize(int width, int height) {
|
|
|