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

Unified Diff: ppapi/cpp/dev/graphics_3d_dev.cc

Issue 5835007: Revert 69511 - Make Graphics3D::SwapBuffers take a completion callback... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/cpp/dev/graphics_3d_dev.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/graphics_3d_dev.cc
===================================================================
--- ppapi/cpp/dev/graphics_3d_dev.cc (revision 69511)
+++ ppapi/cpp/dev/graphics_3d_dev.cc (working copy)
@@ -119,9 +119,8 @@
return graphics_3d_f && graphics_3d_f->MakeCurent(pp_resource());
}
-bool Graphics3D_Dev::SwapBuffers(const CompletionCallback& cc) const {
- return graphics_3d_f && graphics_3d_f->SwapBuffers(
- pp_resource(), cc.pp_completion_callback());
+bool Graphics3D_Dev::SwapBuffers() const {
+ return graphics_3d_f && graphics_3d_f->SwapBuffers(pp_resource());
}
} // namespace pp
« no previous file with comments | « ppapi/cpp/dev/graphics_3d_dev.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698