Skip to content

Commit

Permalink
Merge mozilla-central to autoland. a=merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandor Molnar committed Feb 28, 2024
2 parents 9d802da + 8ddce6f commit 3ef9354
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webrender/src/picture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5014,7 +5014,7 @@ impl PicturePrimitive {

let content_device_rect = content_device_rect
.intersection(&max_content_rect)
.expect("bug: no intersection with tile dirty rect: {content_device_rect:?} / {max_content_rect:?}");
.expect("bug: no intersection with tile dirty rect");

let content_task_size = content_device_rect.size();
let normalized_content_rect = content_task_size.into();
Expand Down
1 change: 0 additions & 1 deletion webrender/src/render_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,6 @@ impl RenderTask {
size: DeviceIntSize,
kind: RenderTaskKind,
) -> Self {
assert!(!size.is_empty());
RenderTask::new(
RenderTaskLocation::Unallocated { size },
kind,
Expand Down
2 changes: 1 addition & 1 deletion webrender/src/renderer/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ impl UploadTexturePool {
ImageFormat::RGBA8 => 0,
ImageFormat::BGRA8 => 1,
ImageFormat::R8 => 2,
_ => { panic!("unexpected format {:?}", format); }
_ => { panic!("unexpected format"); }
}
}

Expand Down

0 comments on commit 3ef9354

Please sign in to comment.