mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +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
|
@ -134,7 +134,7 @@ impl WebGLExternalImages {
|
|||
}
|
||||
|
||||
impl WebrenderExternalImageApi for WebGLExternalImages {
|
||||
fn lock(&mut self, id: u64) -> (ExternalImageSource, Size2D<i32>) {
|
||||
fn lock(&mut self, id: u64) -> (ExternalImageSource<'_>, Size2D<i32>) {
|
||||
let id = WebGLContextId(id);
|
||||
let (texture_id, size) = self.lock_swap_chain(id).unwrap_or_default();
|
||||
(ExternalImageSource::NativeTexture(texture_id), size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue