Chromium Code Reviews| Index: ppapi/proxy/gamepad_resource.cc |
| diff --git a/ppapi/proxy/gamepad_resource.cc b/ppapi/proxy/gamepad_resource.cc |
| index 8bbf8cc6c28cf3c124db5e186bcd2b22f8d1b7d6..ec50fd30aa076c3b9910944442d8d74eca8d0380 100644 |
| --- a/ppapi/proxy/gamepad_resource.cc |
| +++ b/ppapi/proxy/gamepad_resource.cc |
| @@ -62,7 +62,8 @@ thunk::PPB_Gamepad_API* GamepadResource::AsPPB_Gamepad_API() { |
| return this; |
| } |
| -void GamepadResource::Sample(PP_GamepadsSampleData* data) { |
| +void GamepadResource::Sample(PP_Instance instance, |
|
dmichael (off chromium)
2013/03/19 19:01:06
see other nit
teravest
2013/03/19 19:39:33
Done.
|
| + PP_GamepadsSampleData* data) { |
| if (!buffer_) { |
| // Browser hasn't sent back our shared memory, give the plugin gamepad |
| // data corresponding to "not connected". |