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:
bors-servo 2015-08-06 10:31:58 -06:00
commit 0a8ea98183

View file

@ -131,11 +131,6 @@ impl WorkerGlobalScope {
self.constellation_chan.clone()
}
#[inline]
pub fn eventtarget<'a>(&'a self) -> &'a EventTarget {
&self.eventtarget
}
pub fn get_cx(&self) -> *mut JSContext {
self.runtime.cx()
}