aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-11-14 16:00:23 +0100
committerTamir Duberstein <tamird@gmail.com>2015-04-27 12:20:23 -0700
commite8b02acb1da451bdd730fec0a98a3a1a4fc47acb (patch)
treef0cb6384efb5084411e6f57abebd77effdba83b6 /components/script/dom/node.rs
parent89a0c004d574c69f9ca03bde2ed341cc51b21f0f (diff)
downloadservo-e8b02acb1da451bdd730fec0a98a3a1a4fc47acb.tar.gz
servo-e8b02acb1da451bdd730fec0a98a3a1a4fc47acb.zip
Pass Atom to Attr:new for the prefix argument.
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 8d5c2184c0f..525130af9fc 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().GetPrefix(), Some(copy_elem)));
+ attr.r().prefix().clone(), Some(copy_elem)));
}
},
_ => ()