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

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

Issue 7058061: Revert 87905 (broke PPAPITest.Scrollbar on win) - PPAPI: Fix interface functions that take PP_Com... (Closed) Base URL: svn://svn.chromium.org/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 87917)
+++ webkit/plugins/ppapi/ppb_layer_compositor_impl.cc (working copy)
@@ -4,7 +4,6 @@
#include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h"
-#include "ppapi/c/pp_errors.h"
#include "webkit/plugins/ppapi/common.h"
namespace webkit {
@@ -41,9 +40,9 @@
void MarkAsDirty(PP_Resource compositor, PP_Resource layer) {
}
-int32_t SwapBuffers(PP_Resource compositor,
- struct PP_CompletionCallback callback) {
- return PP_ERROR_FAILED;
+PP_Bool SwapBuffers(PP_Resource compositor,
+ struct PP_CompletionCallback callback) {
+ return PP_FALSE;
}
const PPB_LayerCompositor_Dev ppb_layercompositor = {
@@ -98,9 +97,9 @@
void PPB_LayerCompositor_Impl::MarkAsDirty(PP_Resource layer) {
}
-int32_t PPB_LayerCompositor_Impl::SwapBuffers(
+PP_Bool PPB_LayerCompositor_Impl::SwapBuffers(
struct PP_CompletionCallback callback) {
- return PP_ERROR_FAILED;
+ return PP_FALSE;
}
} // 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