aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2014-11-28 09:24:44 -0700
committerbors-servo <metajack+bors@gmail.com>2014-11-28 09:24:44 -0700
commit82050d1e535681ea993e4290d02bcf4b9f4ee5a2 (patch)
tree35fde6cd718b3e2da95986c00bb9997837000ce7 /components/script/dom/node.rs
parentfafd3fd8ba6d2e43ad8cc34ac0f4cc9e835e6867 (diff)
parent1305ac4dd0e6764ac929c0e9303fb50ce291df74 (diff)
downloadservo-82050d1e535681ea993e4290d02bcf4b9f4ee5a2.tar.gz
servo-82050d1e535681ea993e4290d02bcf4b9f4ee5a2.zip
auto merge of #4130 : saneyuki/servo/cast, r=Manishearth
Fix #4124 This also introduce `BarCast::from_actual()` which is used for up-cast for dom's actual data types (non JS pointer values).
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index a1d724e2a88..f1185d73fe6 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -1150,11 +1150,6 @@ impl Node {
}
#[inline]
- pub fn eventtarget<'a>(&'a self) -> &'a EventTarget {
- &self.eventtarget
- }
-
- #[inline]
pub fn layout_data(&self) -> Ref<Option<LayoutData>> {
self.layout_data.borrow()
}