mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Make reflect_dom_object take a &GlobalScope
This commit is contained in:
parent
093b189b48
commit
fcb59d3057
132 changed files with 488 additions and 407 deletions
|
@ -6,7 +6,6 @@ use core::nonzero::NonZero;
|
|||
use document_loader::DocumentLoader;
|
||||
use dom::bindings::codegen::Bindings::DocumentBinding::DocumentMethods;
|
||||
use dom::bindings::codegen::Bindings::XMLDocumentBinding::{self, XMLDocumentMethods};
|
||||
use dom::bindings::global::GlobalRef;
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::js::Root;
|
||||
use dom::bindings::reflector::reflect_dom_object;
|
||||
|
@ -66,7 +65,7 @@ impl XMLDocument {
|
|||
last_modified,
|
||||
source,
|
||||
doc_loader),
|
||||
GlobalRef::Window(window),
|
||||
window,
|
||||
XMLDocumentBinding::Wrap);
|
||||
{
|
||||
let node = doc.upcast::<Node>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue