From e82fafcd66be3f5c0cef28ee0c08ae4f9e0338b4 Mon Sep 17 00:00:00 2001 From: "piman@google.com" Date: Wed, 22 Jul 2009 00:46:22 +0000 Subject: linux: add windowless plugin plumbing Review URL: http://codereview.chromium.org/159128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21250 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/transport_dib_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/common') diff --git a/chrome/common/transport_dib_linux.cc b/chrome/common/transport_dib_linux.cc index 1037341..75b52d5 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; -- cgit v1.1