mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +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(());
|
||||
}
|
||||
},
|
||||
ImageDataOrHTMLImageElementOrHTMLCanvasElementOrHTMLVideoElement::HTMLVideoElement(_rooted_video)
|
||||
=> unimplemented!(),
|
||||
ImageDataOrHTMLImageElementOrHTMLCanvasElementOrHTMLVideoElement::HTMLVideoElement(_) => {
|
||||
// TODO: https://github.com/servo/servo/issues/6711
|
||||
return Err(());
|
||||
}
|
||||
};
|
||||
|
||||
return Ok((pixels, size, premultiplied));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue