aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-02-18 04:59:32 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-02-18 04:59:32 +0530
commit63dc161b773775c6755a604ec04b81c0bc479bf3 (patch)
tree3c68d0edf0012c441d21d9fd5ebb637eb08887ff /components/script/dom/xmlhttprequest.rs
parentbc034845b7e543e4e71fa21d6bf99e9f10ddb6c5 (diff)
parentc6dfd7e2fab84fc7d5cb201d855dc6409f985684 (diff)
downloadservo-63dc161b773775c6755a604ec04b81c0bc479bf3.tar.gz
servo-63dc161b773775c6755a604ec04b81c0bc479bf3.zip
Auto merge of #9683 - kmuszyn:9561-more-thread-source-renamings, r=jdm
Issue #9561 continued - renamed *_thread_source to *_task_source components/script/dom/bindings/global.rs modified -> all *_thread_source occurrences renamed to *_task_source to comply with spec <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9683) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r--components/script/dom/xmlhttprequest.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs
index 8f1e8ade718..49075d33108 100644
--- a/components/script/dom/xmlhttprequest.rs
+++ b/components/script/dom/xmlhttprequest.rs
@@ -1034,7 +1034,7 @@ impl XMLHttpRequest {
// This will cancel all previous timeouts
let global = self.global();
let callback = ScheduledXHRTimeout {
- xhr: Trusted::new(self, global.r().networking_thread_source()),
+ xhr: Trusted::new(self, global.r().networking_task_source()),
generation_id: self.generation_id.get(),
};
let duration = Length::new(duration_ms as u64);
@@ -1234,7 +1234,7 @@ impl XMLHttpRequest {
Ok(req) => req,
};
- let xhr = Trusted::new(self, global.networking_thread_source());
+ let xhr = Trusted::new(self, global.networking_task_source());
let context = Arc::new(Mutex::new(XHRContext {
xhr: xhr,
@@ -1248,7 +1248,7 @@ impl XMLHttpRequest {
let (tx, rx) = global.new_script_pair();
(tx, Some(rx))
} else {
- (global.networking_thread_source(), None)
+ (global.networking_task_source(), None)
};
let resource_thread = global.resource_thread();