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 2fd4b8f3b5b..33f628df572 100644
--- a/components/script/dom/htmlheadelement.rs
+++ b/components/script/dom/htmlheadelement.rs
@@ -99,7 +99,7 @@ impl HTMLHeadElement {
.filter(|elem| {
elem.get_string_attribute(&local_name!("http-equiv"))
.to_ascii_lowercase() ==
- "content-security-policy".to_owned()
+ *"content-security-policy"
})
.filter(|elem| {
elem.get_attribute(&ns!(), &local_name!("content"))