mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
apply yvt/servo/fix-named-window-getter
This commit is contained in:
parent
fd1de05592
commit
4c7f198ee2
9 changed files with 398 additions and 49 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use super::WebGLExtensions;
|
||||
use crate::dom::bindings::reflector::DomObject;
|
||||
use crate::dom::bindings::reflector::{DomObject, Untransplantable};
|
||||
use crate::dom::bindings::root::DomRoot;
|
||||
use crate::dom::bindings::trace::JSTraceable;
|
||||
use crate::dom::webglrenderingcontext::WebGLRenderingContext;
|
||||
|
@ -12,7 +12,7 @@ use canvas_traits::webgl::WebGLVersion;
|
|||
/// Trait implemented by WebGL extensions.
|
||||
pub trait WebGLExtension: Sized
|
||||
where
|
||||
Self::Extension: DomObject + JSTraceable,
|
||||
Self::Extension: DomObject + JSTraceable + Untransplantable,
|
||||
{
|
||||
type Extension;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue