Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(701)

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_gamepad.cc

Issue 9405033: Revise gamepad interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_gamepad.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_gamepad.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_gamepad.cc
index 021e6f295b75781048631475b36a566e3109bdd5..2e2256b4ad0b2888a6b9515ee909e50c87f1ed42 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_gamepad.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_gamepad.cc
@@ -14,14 +14,15 @@ namespace ppapi_proxy {
namespace {
-void SampleGamepads(PP_Instance instance, struct PP_GamepadsData_Dev* pads) {
+void SampleGamepads(PP_Instance instance,
+ struct PP_GamepadsSampleData_Dev* pads) {
DebugPrintf("PPB_Gamepad::SampleGamepads: instance=%"NACL_PRId32"\n",
instance);
if (pads == NULL)
return;
nacl_abi_size_t pads_bytes =
- static_cast<nacl_abi_size_t>(sizeof(struct PP_GamepadsData_Dev));
+ static_cast<nacl_abi_size_t>(sizeof(struct PP_GamepadsSampleData_Dev));
NaClSrpcError srpc_result =
PpbGamepadRpcClient::PPB_Gamepad_SampleGamepads(
GetMainSrpcChannel(),
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_gamepad_rpc_server.cc ('k') | ppapi/proxy/ppb_instance_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698