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

Unified Diff: ppapi/thunk/ppb_camera_capabilities_private_thunk.cc

Issue 490433002: PPAPI: make generator output a pointer to an array correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« ppapi/generators/idl_c_proto.py ('K') | « ppapi/generators/idl_c_proto.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_camera_capabilities_private_thunk.cc
diff --git a/ppapi/thunk/ppb_camera_capabilities_private_thunk.cc b/ppapi/thunk/ppb_camera_capabilities_private_thunk.cc
index 76560977f8400cd5f81f66540467239304aff66a..173d451cc77fa7a65a6634337339e3f6113e2e8e 100644
--- a/ppapi/thunk/ppb_camera_capabilities_private_thunk.cc
+++ b/ppapi/thunk/ppb_camera_capabilities_private_thunk.cc
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// From private/ppb_camera_capabilities_private.idl,
-// modified Wed Aug 13 14:08:24 2014.
+// modified Tue Aug 19 14:43:34 2014.
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/private/ppb_camera_capabilities_private.h"
@@ -33,7 +33,7 @@ PP_Bool IsCameraCapabilities(PP_Resource resource) {
void GetSupportedPreviewSizes(PP_Resource capabilities,
int32_t* array_size,
- struct PP_Size* preview_sizes[]) {
+ struct PP_Size** preview_sizes) {
VLOG(4) << "PPB_CameraCapabilities_Private::GetSupportedPreviewSizes()";
EnterResource<PPB_CameraCapabilities_API> enter(capabilities, true);
if (enter.failed())
@@ -43,7 +43,7 @@ void GetSupportedPreviewSizes(PP_Resource capabilities,
void GetSupportedJpegSizes(PP_Resource capabilities,
int32_t* array_size,
- struct PP_Size* jpeg_sizes[]) {
+ struct PP_Size** jpeg_sizes) {
VLOG(4) << "PPB_CameraCapabilities_Private::GetSupportedJpegSizes()";
EnterResource<PPB_CameraCapabilities_API> enter(capabilities, true);
if (enter.failed())
« ppapi/generators/idl_c_proto.py ('K') | « ppapi/generators/idl_c_proto.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698