| Index: chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc
|
| diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc b/chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc
|
| index 00f7e80744a5b0415d7f5113ff66189e7b0f084c..9dcdc2dcd99f0c9bf6c74f40dd7e4b408aeb5ba3 100644
|
| --- a/chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc
|
| +++ b/chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc
|
| @@ -36,9 +36,8 @@ void NativeMessageProcessHost::OnFileCanReadWithoutBlocking(int fd) {
|
| if (is_send_message_)
|
| read_watcher_.StopWatchingFileDescriptor();
|
|
|
| - MessageType type;
|
| std::string message;
|
| - if (!ReadMessage(&type, &message)) {
|
| + if (!ReadMessage(&message)) {
|
| // A read failed, is the process dead?
|
| if (base::GetTerminationStatus(native_process_handle_, NULL) !=
|
| base::TERMINATION_STATUS_STILL_RUNNING) {
|
|
|