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

Unified Diff: ppapi/thunk/ppb_gamepad_thunk.cc

Issue 14007010: Pepper: Autogenerate thunk for PPB_URL_Loader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix sizeof statements Created 7 years, 8 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/ppb_url_loader_proxy.cc ('k') | ppapi/thunk/ppb_url_loader_api.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 40ac32febb3498e7c51f6e3ae92c37178f5ddb09..e2f0160589bd6731f90406da25f91ab594b5385d 100644
--- a/ppapi/thunk/ppb_gamepad_thunk.cc
+++ b/ppapi/thunk/ppb_gamepad_thunk.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From ppb_gamepad.idl modified Mon Apr 1 08:24:03 2013.
+// From ppb_gamepad.idl modified Wed Apr 17 11:16:00 2013.
#include <string.h>
@@ -27,7 +27,7 @@ void Sample(PP_Instance instance, struct PP_GamepadsSampleData* data) {
enter.functions()->Sample(instance, data);
return;
}
- memset(data, 0, sizeof(struct PP_GamepadsSampleData));
+ memset(data, 0, sizeof(*data));
}
const PPB_Gamepad_1_0 g_ppb_gamepad_thunk_1_0 = {
« no previous file with comments | « ppapi/proxy/ppb_url_loader_proxy.cc ('k') | ppapi/thunk/ppb_url_loader_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698