aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index 525130af9fc..8d5c2184c0f 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -1778,7 +1778,7 @@ impl Node {
&Attr::new(window.r(),
attr.r().local_name().clone(), attr.r().value().clone(),
attr.r().name().clone(), attr.r().namespace().clone(),
- attr.r().prefix().clone(), Some(copy_elem)));
+ attr.r().GetPrefix(), Some(copy_elem)));
}
},
_ => ()