diff options
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 4908fc65e9b..873e7225229 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -1760,7 +1760,11 @@ impl Node { Self::reflect_node_with_proto(node, document, None) } - pub fn reflect_node_with_proto<N>(node: Box<N>, document: &Document, proto: Option<HandleObject>) -> DomRoot<N> + pub fn reflect_node_with_proto<N>( + node: Box<N>, + document: &Document, + proto: Option<HandleObject>, + ) -> DomRoot<N> where N: DerivedFrom<Node> + DomObject + DomObjectWrap, { |