From 3ea6d87bcc37167464e856949a4b9b77d0e9318a Mon Sep 17 00:00:00 2001 From: YUAN LYU Date: Fri, 20 Mar 2020 22:14:18 -0400 Subject: Add trait DomObjectWrap to provide WRAP function --- components/script/dom/webglframebuffer.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'components/script/dom/webglframebuffer.rs') diff --git a/components/script/dom/webglframebuffer.rs b/components/script/dom/webglframebuffer.rs index f3f6e939f4f..1e4b75ac86d 100644 --- a/components/script/dom/webglframebuffer.rs +++ b/components/script/dom/webglframebuffer.rs @@ -5,7 +5,6 @@ // https://www.khronos.org/registry/webgl/specs/latest/1.0/webgl.idl use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::WebGL2RenderingContextBinding::WebGL2RenderingContextConstants as constants; -use crate::dom::bindings::codegen::Bindings::WebGLFramebufferBinding; use crate::dom::bindings::inheritance::Castable; use crate::dom::bindings::reflector::{reflect_dom_object, DomObject}; use crate::dom::bindings::root::{Dom, DomRoot, MutNullableDom}; @@ -165,7 +164,6 @@ impl WebGLFramebuffer { reflect_dom_object( Box::new(WebGLFramebuffer::new_inherited(context, id)), &*context.global(), - WebGLFramebufferBinding::Wrap, ) } } -- cgit v1.2.3