Remove a panic due to missing video support

This commit is contained in:
Anthony Ramine 2018-09-14 09:46:57 +02:00
parent fef04c65f6
commit 70a0174b0a

View file

@ -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));