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

Unified Diff: ppapi/thunk/ppb_graphics_3d_thunk.cc

Issue 1801493003: Fix ppb_graphics_3d such that the thunk can be generated again (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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_graphics_3d_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a42ddd102128eee6d912554e272da7739c7fdbc2..eced397797c8d3111e9d2e1cf9681b151a78cfec 100644
--- a/ppapi/thunk/ppb_graphics_3d_thunk.cc
+++ b/ppapi/thunk/ppb_graphics_3d_thunk.cc
@@ -2,11 +2,8 @@
// 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 Fri Nov 1 16:12:12 2013.
+// From ppb_graphics_3d.idl modified Wed Jan 27 17:10:16 2016.
-#include <stdint.h>
-
-#include "gpu/command_buffer/common/sync_token.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_graphics_3d.h"
@@ -85,18 +82,12 @@ int32_t SwapBuffers(PP_Resource context,
EnterResource<PPB_Graphics3D_API> enter(context, callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->SwapBuffers(enter.callback(),
- gpu::SyncToken()));
+ 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
« no previous file with comments | « ppapi/thunk/ppb_graphics_3d_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698