From 5f6745ebf3f595e6cddaf70b76d78699e40b0a44 Mon Sep 17 00:00:00 2001 From: "sehr@google.com" Date: Wed, 3 Feb 2010 16:51:38 +0000 Subject: To implement Pepper in Native Client we need access to the implementation of the Pepper APIs in Chrome. Specifically, we need to be able to get the base::SharedMemory or TransportDIB memory regions used to communicate with devices. To enable doing this, especially in 64-bit Chrome, I needed to change the GetStateContext and SetStateContext functions to manipulate 64-bit values. This CL does not include the Native Client hookup to the new APIs, but is needed to do so. BUG=none TEST=none Review URL: http://codereview.chromium.org/569004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37975 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/plugins/webplugin_3d_device_delegate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webkit/glue/plugins/webplugin_3d_device_delegate.h') diff --git a/webkit/glue/plugins/webplugin_3d_device_delegate.h b/webkit/glue/plugins/webplugin_3d_device_delegate.h index 42dc300..c2c98f3 100644 --- a/webkit/glue/plugins/webplugin_3d_device_delegate.h +++ b/webkit/glue/plugins/webplugin_3d_device_delegate.h @@ -29,12 +29,12 @@ class WebPlugin3DDeviceDelegate { } virtual NPError Device3DSetStateContext(NPDeviceContext3D* context, int32 state, - int32 value) { + intptr_t value) { return NPERR_GENERIC_ERROR; } virtual NPError Device3DGetStateContext(NPDeviceContext3D* context, int32 state, - int32* value) { + intptr_t* value) { return NPERR_GENERIC_ERROR; } virtual NPError Device3DFlushContext(NPP id, -- cgit v1.1