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

Unified Diff: ppapi/thunk/ppb_gamepad_thunk.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/thunk/ppb_gamepad_api.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_gamepad_thunk.cc
diff --git a/ppapi/thunk/ppb_gamepad_thunk.cc b/ppapi/thunk/ppb_gamepad_thunk.cc
index de2c8be04cf54f30dcd3ed82d82087d23f3e0abf..34386c6e503d9451f2a728d6c28a441026d340c9 100644
--- a/ppapi/thunk/ppb_gamepad_thunk.cc
+++ b/ppapi/thunk/ppb_gamepad_thunk.cc
@@ -19,7 +19,7 @@ namespace {
void SampleGamepads(PP_Instance instance, PP_GamepadsSampleData* data) {
EnterInstanceAPI<PPB_Gamepad_API> enter(instance);
if (enter.succeeded()) {
- enter.functions()->Sample(data);
+ enter.functions()->Sample(instance, data);
return;
}
// Failure, zero out.
« no previous file with comments | « ppapi/thunk/ppb_gamepad_api.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698