mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1355578 - Update push_scroll_layer's signature on the Rust side to match that on the C++ side. r=jrmuizel
MozReview-Commit-ID: 9ouWihnNkbR
This commit is contained in:
parent
1880bd37a5
commit
728e0fbb28
@ -1153,9 +1153,10 @@ pub extern "C" fn wr_dp_pop_stacking_context(state: &mut WrState) {
|
||||
pub extern "C" fn wr_dp_push_scroll_layer(state: &mut WrState,
|
||||
bounds: WrRect,
|
||||
overflow: WrRect,
|
||||
mask: Option<&WrImageMask>) {
|
||||
mask: *const WrImageMask) {
|
||||
let bounds = bounds.to_rect();
|
||||
let overflow = overflow.to_rect();
|
||||
let mask = unsafe { mask.as_ref() };
|
||||
let mask = mask.map(|&WrImageMask { image, ref rect, repeat }| {
|
||||
ImageMask {
|
||||
image: image,
|
||||
|
Loading…
Reference in New Issue
Block a user