mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Add trait DomObjectWrap to provide WRAP function
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
use crate::document_loader::DocumentLoader;
|
||||
use crate::dom::bindings::codegen::Bindings::DocumentBinding::DocumentMethods;
|
||||
use crate::dom::bindings::codegen::Bindings::XMLDocumentBinding::{self, XMLDocumentMethods};
|
||||
use crate::dom::bindings::codegen::Bindings::XMLDocumentBinding::XMLDocumentMethods;
|
||||
use crate::dom::bindings::inheritance::Castable;
|
||||
use crate::dom::bindings::reflector::reflect_dom_object;
|
||||
use crate::dom::bindings::root::DomRoot;
|
||||
@@ -85,7 +85,6 @@ impl XMLDocument {
|
||||
doc_loader,
|
||||
)),
|
||||
window,
|
||||
XMLDocumentBinding::Wrap,
|
||||
);
|
||||
{
|
||||
let node = doc.upcast::<Node>();
|
||||
|
||||
Reference in New Issue
Block a user