Cleanup WebGLRenderingContext, Websocker, WorkerGlobalScope

This commit is contained in:
Manish Goregaokar 2015-08-15 05:16:39 +05:30
parent 5c4f91c0f1
commit a53b86f107
3 changed files with 9 additions and 11 deletions

View file

@ -143,11 +143,11 @@ impl WorkerGlobalScope {
self.runtime.cx()
}
pub fn resource_task<'a>(&'a self) -> &'a ResourceTask {
pub fn resource_task(&self) -> &ResourceTask {
&self.resource_task
}
pub fn get_url<'a>(&'a self) -> &'a Url {
pub fn get_url(&self) -> &Url {
&self.worker_url
}