From 452cd0c0a2eb8dac0f25dcbfcdde6a7a730649ce Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 5 Apr 2017 11:18:52 -0400 Subject: [PATCH] Bug 1353735 - Fix return value of binding function. r=jrmuizel MozReview-Commit-ID: 3COc4L4J5Y2 --- 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 2339944e956b..3060738c6589 100644 --- a/gfx/webrender_bindings/webrender_ffi.h +++ b/gfx/webrender_bindings/webrender_ffi.h @@ -492,7 +492,7 @@ WR_FUNC; // It is the responsibility of the caller to manage the dst_buffer memory // and also free it at the proper time. -WR_INLINE const uint8_t* +WR_INLINE void wr_renderer_readback(WrRenderer* renderer, uint32_t width, uint32_t height, uint8_t* dst_buffer, size_t buffer_length)