mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
cargo: Bump rustc to 1.89 (#36818)
Update Rustc to 1.89. Reviewable by commit. Leftover work: - #37330 - #38777 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
8587536755
commit
3225d19907
126 changed files with 408 additions and 610 deletions
|
@ -350,7 +350,7 @@ impl CrossProcessCompositorApi {
|
|||
/// This trait is used to notify lock/unlock messages and get the
|
||||
/// required info that WR needs.
|
||||
pub trait WebrenderExternalImageApi {
|
||||
fn lock(&mut self, id: u64) -> (ExternalImageSource, UntypedSize2D<i32>);
|
||||
fn lock(&mut self, id: u64) -> (ExternalImageSource<'_>, UntypedSize2D<i32>);
|
||||
fn unlock(&mut self, id: u64);
|
||||
}
|
||||
|
||||
|
@ -433,7 +433,7 @@ impl ExternalImageHandler for WebrenderExternalImageHandlers {
|
|||
/// image content.
|
||||
/// The WR client should not change the image content until the
|
||||
/// unlock() call.
|
||||
fn lock(&mut self, key: ExternalImageId, _channel_index: u8) -> ExternalImage {
|
||||
fn lock(&mut self, key: ExternalImageId, _channel_index: u8) -> ExternalImage<'_> {
|
||||
let external_images = self.external_images.lock().unwrap();
|
||||
let handler_type = external_images
|
||||
.get(&key)
|
||||
|
|
|
@ -466,7 +466,7 @@ impl WindowRenderingContext {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn surfman_details(&self) -> (RefMut<Device>, RefMut<Context>) {
|
||||
pub fn surfman_details(&self) -> (RefMut<'_, Device>, RefMut<'_, Context>) {
|
||||
(
|
||||
self.surfman_context.device.borrow_mut(),
|
||||
self.surfman_context.context.borrow_mut(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue