From ee359c1f8bdd922413cd9e41ccb14d5dc1ebde4c Mon Sep 17 00:00:00 2001 From: sotaro Date: Wed, 18 Jan 2017 15:51:39 +0900 Subject: [PATCH] Bug 1331828 - Fix ffi inconsistency of wr_readback_into_buffer() r=gfx? --- gfx/webrender_bindings/webrender_ffi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/webrender_bindings/webrender_ffi.h b/gfx/webrender_bindings/webrender_ffi.h index b40882699cea..aa8627f5c4fe 100644 --- a/gfx/webrender_bindings/webrender_ffi.h +++ b/gfx/webrender_bindings/webrender_ffi.h @@ -369,7 +369,7 @@ wr_dp_push_iframe(WrState* wrState, WrRect bounds, WrRect clip, WrPipelineId lay // and also free it at the proper time. WR_INLINE const uint8_t* wr_readback_into_buffer(WrWindowState* wrWindow, uint32_t width, uint32_t height, - uint8_t* dst_buffer, uint32_t buffer_length) + uint8_t* dst_buffer, size_t buffer_length) WR_FUNC; // TODO: Remove.