summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorpiman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:46:22 +0000
committerpiman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:46:22 +0000
commite82fafcd66be3f5c0cef28ee0c08ae4f9e0338b4 (patch)
treefa45c0c69e9e28524867e4c93d65d323dcf9c14a /chrome/common
parent4dc3cca352f08bfe126bb83c5a7030965538b7a0 (diff)
downloadchromium_src-e82fafcd66be3f5c0cef28ee0c08ae4f9e0338b4.zip
chromium_src-e82fafcd66be3f5c0cef28ee0c08ae4f9e0338b4.tar.gz
chromium_src-e82fafcd66be3f5c0cef28ee0c08ae4f9e0338b4.tar.bz2
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
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/transport_dib_linux.cc2
1 files changed, 1 insertions, 1 deletions
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;