diff options
author | Josh Matthews <josh@joshmatthews.net> | 2025-02-04 01:58:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-04 06:58:08 +0000 |
commit | c94ac5bccb67c409130bda9b7e13064dd291ac98 (patch) | |
tree | 4b0730f6ec4060b026a252db060fc2a3f8031243 /components/script/dom/webglquery.rs | |
parent | 0d51578cc37b8ab392a930bc0a0f38ada2bb7913 (diff) | |
download | servo-c94ac5bccb67c409130bda9b7e13064dd291ac98.tar.gz servo-c94ac5bccb67c409130bda9b7e13064dd291ac98.zip |
Move various reflector types and traits to script_bindings (#35279)
* script: Move Reflector to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Extract global() helper from DomObject into new trait. Move DomObject and related traits to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/webglquery.rs')
-rw-r--r-- | components/script/dom/webglquery.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webglquery.rs b/components/script/dom/webglquery.rs index aa7f84075cd..04461d741c9 100644 --- a/components/script/dom/webglquery.rs +++ b/components/script/dom/webglquery.rs @@ -11,7 +11,7 @@ use dom_struct::dom_struct; use crate::dom::bindings::codegen::Bindings::WebGL2RenderingContextBinding::WebGL2RenderingContextConstants as constants; use crate::dom::bindings::inheritance::Castable; use crate::dom::bindings::refcounted::Trusted; -use crate::dom::bindings::reflector::{reflect_dom_object, DomObject}; +use crate::dom::bindings::reflector::{reflect_dom_object, DomGlobal}; use crate::dom::bindings::root::DomRoot; use crate::dom::webglobject::WebGLObject; use crate::dom::webglrenderingcontext::{Operation, WebGLRenderingContext}; |