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 |