diff options
Diffstat (limited to 'components/script/dom/webgl_extensions/wrapper.rs')
-rw-r--r-- | components/script/dom/webgl_extensions/wrapper.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/components/script/dom/webgl_extensions/wrapper.rs b/components/script/dom/webgl_extensions/wrapper.rs index bf8db31418c..84338640835 100644 --- a/components/script/dom/webgl_extensions/wrapper.rs +++ b/components/script/dom/webgl_extensions/wrapper.rs @@ -2,15 +2,17 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +use std::any::Any; +use std::ptr::NonNull; + +use js::jsapi::JSObject; +use malloc_size_of::MallocSizeOf; + use super::{WebGLExtension, WebGLExtensionSpec, WebGLExtensions}; use crate::dom::bindings::reflector::DomObject; use crate::dom::bindings::root::MutNullableDom; use crate::dom::bindings::trace::JSTraceable; use crate::dom::webglrenderingcontext::WebGLRenderingContext; -use js::jsapi::JSObject; -use malloc_size_of::MallocSizeOf; -use std::any::Any; -use std::ptr::NonNull; /// Trait used internally by WebGLExtensions to store and /// handle the different WebGL extensions in a common list. |