mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
suppress build warnings when disabling webgpu and webxr (#35379)
Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
654df4c8b7
commit
827012fc08
8 changed files with 26 additions and 15 deletions
|
@ -8,9 +8,8 @@ use script_layout_interface::HTMLCanvasDataSource;
|
|||
use crate::dom::bindings::codegen::Bindings::GPUCanvasContextBinding::GPUCanvasContextMethods;
|
||||
use crate::dom::bindings::codegen::UnionTypes;
|
||||
use crate::dom::bindings::reflector::Reflector;
|
||||
use crate::dom::bindings::root::{DomRoot, LayoutDom};
|
||||
use crate::dom::globalscope::GlobalScope;
|
||||
use crate::dom::htmlcanvaselement::{HTMLCanvasElement, LayoutCanvasRenderingContextHelpers};
|
||||
use crate::dom::bindings::root::LayoutDom;
|
||||
use crate::dom::htmlcanvaselement::LayoutCanvasRenderingContextHelpers;
|
||||
|
||||
#[dom_struct]
|
||||
pub(crate) struct GPUCanvasContext {
|
||||
|
@ -22,10 +21,6 @@ impl GPUCanvasContext {
|
|||
fn new_inherited() -> Self {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
pub(crate) fn new(_global: &GlobalScope, _canvas: &HTMLCanvasElement) -> DomRoot<Self> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
impl GPUCanvasContextMethods<crate::DomTypeHolder> for GPUCanvasContext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue