| Index: content/ppapi_plugin/ppapi_thread.cc
|
| diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc
|
| index c5f2a6bbc5e6b021ddcc33ef4299cec92f417d0b..0d16f9a464e711a13f6f190dda6a04db0b6ce9d9 100644
|
| --- a/content/ppapi_plugin/ppapi_thread.cc
|
| +++ b/content/ppapi_plugin/ppapi_thread.cc
|
| @@ -303,6 +303,9 @@ bool PpapiThread::SetupRendererChannel(base::ProcessHandle host_process_handle,
|
| // This ensures this process will be notified when it is closed even if a
|
| // connection is not established.
|
| handle->socket = base::FileDescriptor(dispatcher->TakeRendererFD(), true);
|
| + // Check the validity of fd for bug investigation. Remove after fixed.
|
| + // See for details: crbug.com/103957.
|
| + CHECK_NE(-1, handle->socket.fd);
|
| if (handle->socket.fd == -1)
|
| return false;
|
| #endif
|
|
|