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

Unified Diff: ppapi/proxy/gamepad_resource.cc

Issue 12568010: Cleanup: Make gamepad API consistent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment out unused parameters. Created 7 years, 9 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
« no previous file with comments | « ppapi/proxy/gamepad_resource.h ('k') | ppapi/thunk/ppb_gamepad_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/gamepad_resource.cc
diff --git a/ppapi/proxy/gamepad_resource.cc b/ppapi/proxy/gamepad_resource.cc
index 8bbf8cc6c28cf3c124db5e186bcd2b22f8d1b7d6..1cfc0419705d0acc62efb3a4a5a5c7211def6ba0 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 */,
+ PP_GamepadsSampleData* data) {
if (!buffer_) {
// Browser hasn't sent back our shared memory, give the plugin gamepad
// data corresponding to "not connected".
« no previous file with comments | « ppapi/proxy/gamepad_resource.h ('k') | ppapi/thunk/ppb_gamepad_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698