summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.cc
diff options
context:
space:
mode:
authordspringer@google.com <dspringer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 22:35:38 +0000
committerdspringer@google.com <dspringer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 22:35:38 +0000
commitada848b1ae7e1ac9bcf19adf66d457b61edecd1a (patch)
tree9ca00d98dda446acf8e913bb3363f89a77f24f0e /chrome/renderer/render_view.cc
parent4381198d840e71ee89d8d27b22dcad8fa4863e6a (diff)
downloadchromium_src-ada848b1ae7e1ac9bcf19adf66d457b61edecd1a.zip
chromium_src-ada848b1ae7e1ac9bcf19adf66d457b61edecd1a.tar.gz
chromium_src-ada848b1ae7e1ac9bcf19adf66d457b61edecd1a.tar.bz2
Fix Pepper2D on the Mac so that it runs in the sandbox. Note that trusted
plugins still have to run outside of the sandbox (this is not a regression). This CL allows untrusted Pepper 2D plugins to run in the sandbox on the Mac. BUG=40701 TEST=pepper_test_plugin (has to run w/ --no-sandbox on Mac), run any untrusted .nexe that uses Pepper 2D or 3D (examples are inthe NaCl SDK). Review URL: http://codereview.chromium.org/1558032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r--chrome/renderer/render_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index ba8c80f..c1025ab37 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -4874,7 +4874,7 @@ TransportDIB::Handle RenderView::AcceleratedSurfaceAllocTransportDIB(
size_t size) {
TransportDIB::Handle dib_handle;
// Assume this is a synchronous RPC.
- if (Send(new ViewHostMsg_AllocTransportDIB(size, &dib_handle)))
+ if (Send(new ViewHostMsg_AllocTransportDIB(size, true, &dib_handle)))
return dib_handle;
// Return an invalid handle if Send() fails.
return TransportDIB::DefaultHandleValue();