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

Unified Diff: webkit/plugins/ppapi/ppb_layer_compositor_impl.cc

Issue 6975053: PPAPI: Fix interface functions that take PP_CompletionCallbacks, but don't (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « webkit/plugins/ppapi/ppb_layer_compositor_impl.h ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_layer_compositor_impl.cc
===================================================================
--- webkit/plugins/ppapi/ppb_layer_compositor_impl.cc (revision 87892)
+++ webkit/plugins/ppapi/ppb_layer_compositor_impl.cc (working copy)
@@ -4,6 +4,7 @@
#include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h"
+#include "ppapi/c/pp_errors.h"
#include "webkit/plugins/ppapi/common.h"
namespace webkit {
@@ -40,9 +41,9 @@
void MarkAsDirty(PP_Resource compositor, PP_Resource layer) {
}
-PP_Bool SwapBuffers(PP_Resource compositor,
- struct PP_CompletionCallback callback) {
- return PP_FALSE;
+int32_t SwapBuffers(PP_Resource compositor,
+ struct PP_CompletionCallback callback) {
+ return PP_ERROR_FAILED;
}
const PPB_LayerCompositor_Dev ppb_layercompositor = {
@@ -97,9 +98,9 @@
void PPB_LayerCompositor_Impl::MarkAsDirty(PP_Resource layer) {
}
-PP_Bool PPB_LayerCompositor_Impl::SwapBuffers(
+int32_t PPB_LayerCompositor_Impl::SwapBuffers(
struct PP_CompletionCallback callback) {
- return PP_FALSE;
+ return PP_ERROR_FAILED;
}
} // namespace ppapi
« no previous file with comments | « webkit/plugins/ppapi/ppb_layer_compositor_impl.h ('k') | webkit/plugins/ppapi/ppb_video_decoder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698