| Index: chrome/common/transport_dib_mac.cc
|
| diff --git a/chrome/common/transport_dib_mac.cc b/chrome/common/transport_dib_mac.cc
|
| index 4ac44fc2439f76d1ddcb60f22b67750f6bca30df..77717d35c15f6bc1d408623c3a67dcb01ca2d99f 100644
|
| --- a/chrome/common/transport_dib_mac.cc
|
| +++ b/chrome/common/transport_dib_mac.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include <unistd.h>
|
| #include <sys/stat.h>
|
| +
|
| +#include "base/eintr_wrappers.h"
|
| #include "base/shared_memory.h"
|
|
|
| TransportDIB::TransportDIB()
|
| @@ -41,7 +43,7 @@ TransportDIB* TransportDIB::Map(TransportDIB::Handle handle) {
|
|
|
| if (!dib->shared_memory_.Map(st.st_size)) {
|
| delete dib;
|
| - close(handle.fd);
|
| + HANDLE_EINTR(close(handle.fd));
|
| return false;
|
| }
|
|
|
|
|