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

Unified Diff: ppapi/thunk/ppb_graphics_3d_thunk.cc

Issue 238923007: PPAPI: Format ppapi/thunk using clang-format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 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
Index: ppapi/thunk/ppb_graphics_3d_thunk.cc
diff --git a/ppapi/thunk/ppb_graphics_3d_thunk.cc b/ppapi/thunk/ppb_graphics_3d_thunk.cc
index 837e2bcb06a9cae6b7e6c59bfad13e5d0f47b5eb..c26a5a040ec59e27a966a32da22fb82f62b6409f 100644
--- a/ppapi/thunk/ppb_graphics_3d_thunk.cc
+++ b/ppapi/thunk/ppb_graphics_3d_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_graphics_3d.idl modified Thu Oct 31 12:30:06 2013.
+// From ppb_graphics_3d.idl modified Fri Nov 1 16:12:12 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
@@ -34,9 +34,8 @@ PP_Resource Create(PP_Instance instance,
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
- return enter.functions()->CreateGraphics3D(instance,
- share_context,
- attrib_list);
+ return enter.functions()->CreateGraphics3D(
+ instance, share_context, attrib_list);
}
PP_Bool IsGraphics3D(PP_Resource resource) {
@@ -86,15 +85,15 @@ int32_t SwapBuffers(PP_Resource context,
return enter.SetResult(enter.object()->SwapBuffers(enter.callback()));
}
-const PPB_Graphics3D_1_0 g_ppb_graphics3d_thunk_1_0 = {
- &GetAttribMaxValue,
- &Create,
- &IsGraphics3D,
- &GetAttribs,
- &SetAttribs,
- &GetError,
- &ResizeBuffers,
- &SwapBuffers
+const PPB_Graphics3D_1_0 g_ppb_graphics3d_thunk_1_0 = { //
+ &GetAttribMaxValue, //
+ &Create, //
+ &IsGraphics3D, //
+ &GetAttribs, //
+ &SetAttribs, //
+ &GetError, //
+ &ResizeBuffers, //
+ &SwapBuffers //
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698