Skip to content

Commit

Permalink
Bug 1480433 - Update for API changes in WR PR 2948. r=jrmuizel
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: Linx9qsVeAb
  • Loading branch information
staktrace committed Aug 7, 2018
1 parent a2333f3 commit 7879461
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gfx/webrender_bindings/src/moz2d_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,12 @@ impl AsyncBlobImageRasterizer for Moz2dBlobRasterizer {
MutByteSlice::new(output.as_mut_slice()),
) {
Ok(RasterizedBlobImage {
size: descriptor.size,
rasterized_rect: item.dirty_rect.unwrap_or(
DeviceUintRect {
origin: DeviceUintPoint::origin(),
size: descriptor.size,
}
),
data: Arc::new(output),
})
} else {
Expand Down

0 comments on commit 7879461

Please sign in to comment.