summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/webplugin_3d_device_delegate.h
diff options
context:
space:
mode:
authorsehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 16:51:38 +0000
committersehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 16:51:38 +0000
commit5f6745ebf3f595e6cddaf70b76d78699e40b0a44 (patch)
tree32addee40780977d039c520fb12087dccf1ef8fc /webkit/glue/plugins/webplugin_3d_device_delegate.h
parent194b41be7fdce80b33da38a844fb70a7b5eadb78 (diff)
downloadchromium_src-5f6745ebf3f595e6cddaf70b76d78699e40b0a44.zip
chromium_src-5f6745ebf3f595e6cddaf70b76d78699e40b0a44.tar.gz
chromium_src-5f6745ebf3f595e6cddaf70b76d78699e40b0a44.tar.bz2
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
Diffstat (limited to 'webkit/glue/plugins/webplugin_3d_device_delegate.h')
-rw-r--r--webkit/glue/plugins/webplugin_3d_device_delegate.h4
1 files changed, 2 insertions, 2 deletions
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,