aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r--components/script/fetch.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs
index babd4c7e942..7a6f63f7b40 100644
--- a/components/script/fetch.rs
+++ b/components/script/fetch.rs
@@ -10,7 +10,7 @@ use dom::bindings::error::Error;
use dom::bindings::inheritance::Castable;
use dom::bindings::refcounted::{Trusted, TrustedPromise};
use dom::bindings::reflector::DomObject;
-use dom::bindings::root::Root;
+use dom::bindings::root::DomRoot;
use dom::bindings::trace::RootedTraceableBox;
use dom::globalscope::GlobalScope;
use dom::headers::Guard;
@@ -184,7 +184,7 @@ impl FetchResponseListener for FetchContext {
}
}
-fn fill_headers_with_metadata(r: Root<Response>, m: Metadata) {
+fn fill_headers_with_metadata(r: DomRoot<Response>, m: Metadata) {
r.set_headers(m.headers);
r.set_raw_status(m.status);
r.set_final_url(m.final_url);