mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Cleanup WebGLRenderingContext, Websocker, WorkerGlobalScope
This commit is contained in:
parent
5c4f91c0f1
commit
a53b86f107
3 changed files with 9 additions and 11 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue