Index: chrome/common/transport_dib_linux.cc |
diff --git a/chrome/common/transport_dib_linux.cc b/chrome/common/transport_dib_linux.cc |
index 1037341cb88c9436a7514d52af712c05052cfc78..75b52d5c345905af465a2001a14b9f5c0afa4437 100644 |
--- a/chrome/common/transport_dib_linux.cc |
+++ b/chrome/common/transport_dib_linux.cc |
@@ -69,7 +69,7 @@ TransportDIB* TransportDIB::Map(Handle shmkey) { |
if (shmctl(shmkey, IPC_STAT, &shmst) == -1) |
return NULL; |
- void* address = shmat(shmkey, NULL /* desired address */, SHM_RDONLY); |
+ void* address = shmat(shmkey, NULL /* desired address */, 0 /* flags */); |
if (address == kInvalidAddress) |
return NULL; |