mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Remove a panic due to missing video support
This commit is contained in:
parent
fef04c65f6
commit
70a0174b0a
1 changed files with 4 additions and 2 deletions
|
@ -540,8 +540,10 @@ impl WebGLRenderingContext {
|
||||||
return Err(());
|
return Err(());
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ImageDataOrHTMLImageElementOrHTMLCanvasElementOrHTMLVideoElement::HTMLVideoElement(_rooted_video)
|
ImageDataOrHTMLImageElementOrHTMLCanvasElementOrHTMLVideoElement::HTMLVideoElement(_) => {
|
||||||
=> unimplemented!(),
|
// TODO: https://github.com/servo/servo/issues/6711
|
||||||
|
return Err(());
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return Ok((pixels, size, premultiplied));
|
return Ok((pixels, size, premultiplied));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue