mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #7002 - Ms2ger:eventtarget, r=jdm
Remove the unused WorkerGlobalScope::eventtarget method. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7002) <!-- Reviewable:end -->
This commit is contained in:
commit
0a8ea98183
1 changed files with 0 additions and 5 deletions
|
@ -131,11 +131,6 @@ impl WorkerGlobalScope {
|
||||||
self.constellation_chan.clone()
|
self.constellation_chan.clone()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
pub fn eventtarget<'a>(&'a self) -> &'a EventTarget {
|
|
||||||
&self.eventtarget
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn get_cx(&self) -> *mut JSContext {
|
pub fn get_cx(&self) -> *mut JSContext {
|
||||||
self.runtime.cx()
|
self.runtime.cx()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue