projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
chromeos
/
process_proxy
/
process_proxy.cc
diff --git
a/src/chromeos/process_proxy/process_proxy.cc
b/src/chromeos/process_proxy/process_proxy.cc
index
881ea5a
..
b1021f4
100644
(file)
--- a/
src/chromeos/process_proxy/process_proxy.cc
+++ b/
src/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());
// 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) {
}
bool ProcessProxy::OnTerminalResize(int width, int height) {