summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_graphics_3d_thunk.cc
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-10 09:39:55 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-10 09:39:55 +0000
commitaf9388e71330d539947284bbc18297de4d64df36 (patch)
tree721d8aad75904e25c699cb6f0104b661ead1b151 /ppapi/thunk/ppb_graphics_3d_thunk.cc
parent1cb53a36fa25d7afedb5a0b550e43a541f892c8b (diff)
downloadchromium_src-af9388e71330d539947284bbc18297de4d64df36.zip
chromium_src-af9388e71330d539947284bbc18297de4d64df36.tar.gz
chromium_src-af9388e71330d539947284bbc18297de4d64df36.tar.bz2
Added idl file for Pepper 3D.
Review URL: http://codereview.chromium.org/9340003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_graphics_3d_thunk.cc')
-rw-r--r--ppapi/thunk/ppb_graphics_3d_thunk.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/thunk/ppb_graphics_3d_thunk.cc b/ppapi/thunk/ppb_graphics_3d_thunk.cc
index 0aeeb27..2c7bd50 100644
--- a/ppapi/thunk/ppb_graphics_3d_thunk.cc
+++ b/ppapi/thunk/ppb_graphics_3d_thunk.cc
@@ -25,7 +25,7 @@ int32_t GetAttribMaxValue(PP_Resource instance,
PP_Resource Create(PP_Instance instance,
PP_Resource share_context,
- const int32_t* attrib_list) {
+ const int32_t attrib_list[]) {
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
@@ -38,14 +38,14 @@ PP_Bool IsGraphics3D(PP_Resource resource) {
return PP_FromBool(enter.succeeded());
}
-int32_t GetAttribs(PP_Resource graphics_3d, int32_t* attrib_list) {
+int32_t GetAttribs(PP_Resource graphics_3d, int32_t attrib_list[]) {
EnterGraphics3D enter(graphics_3d, true);
if (enter.failed())
return enter.retval();
return enter.object()->GetAttribs(attrib_list);
}
-int32_t SetAttribs(PP_Resource graphics_3d, int32_t* attrib_list) {
+int32_t SetAttribs(PP_Resource graphics_3d, const int32_t attrib_list[]) {
EnterGraphics3D enter(graphics_3d, true);
if (enter.failed())
return enter.retval();