aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlheadelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlheadelement.rs')
-rw-r--r--components/script/dom/htmlheadelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlheadelement.rs b/components/script/dom/htmlheadelement.rs
index 0389ff9b43b..07054971ffa 100644
--- a/components/script/dom/htmlheadelement.rs
+++ b/components/script/dom/htmlheadelement.rs
@@ -49,7 +49,7 @@ impl HTMLHeadElement {
pub fn set_document_referrer(&self) {
let doc = document_from_node(self);
- if doc.GetHead().deref() != Some(self) {
+ if doc.GetHead().as_deref() != Some(self) {
return;
}