aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllinkelement.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-06-08 14:48:49 +0200
committerMs2ger <Ms2ger@gmail.com>2016-12-22 16:06:22 +0100
commit1bc0862214b1d025b4c1f5e6348301cacd90cd09 (patch)
treeaf2f7d4143d48b5d3dcba92210f0f2fedd67d24b /components/script/dom/htmllinkelement.rs
parent8f2d624cbf2cf0dd73ee2a2a8b50381046b2be7c (diff)
downloadservo-1bc0862214b1d025b4c1f5e6348301cacd90cd09.tar.gz
servo-1bc0862214b1d025b4c1f5e6348301cacd90cd09.zip
Remove and allow some dead code.
Diffstat (limited to 'components/script/dom/htmllinkelement.rs')
-rw-r--r--components/script/dom/htmllinkelement.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs
index cc66a822d92..ee4ee4718cf 100644
--- a/components/script/dom/htmllinkelement.rs
+++ b/components/script/dom/htmllinkelement.rs
@@ -77,10 +77,6 @@ impl HTMLLinkElement {
HTMLLinkElementBinding::Wrap)
}
- pub fn parser_inserted(&self) -> bool {
- self.parser_inserted.get()
- }
-
pub fn set_stylesheet(&self, s: Arc<Stylesheet>) {
assert!(self.stylesheet.borrow().is_none());
*self.stylesheet.borrow_mut() = Some(s);