aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/attr.rs
diff options
context:
space:
mode:
authorrohan.prinja <rohan.prinja@samsung.com>2015-10-29 21:48:39 +0900
committerrohan.prinja <rohan.prinja@samsung.com>2015-10-29 21:48:39 +0900
commit4a4f041948f38818d9616125c1639e1431327d09 (patch)
tree8a2960a3a9761fddd78cdd2d14ad427bda44e264 /components/script/dom/attr.rs
parent430578355b75a3d58bec48b865cccbcf7eb8c990 (diff)
downloadservo-4a4f041948f38818d9616125c1639e1431327d09.tar.gz
servo-4a4f041948f38818d9616125c1639e1431327d09.zip
remove get_rooted() and replace all references to it with references to get()
Diffstat (limited to 'components/script/dom/attr.rs')
-rw-r--r--components/script/dom/attr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/attr.rs b/components/script/dom/attr.rs
index 84dc04086f8..50e028a03b3 100644
--- a/components/script/dom/attr.rs
+++ b/components/script/dom/attr.rs
@@ -319,7 +319,7 @@ impl Attr {
}
pub fn owner(&self) -> Option<Root<Element>> {
- self.owner.get_rooted()
+ self.owner.get()
}
pub fn summarize(&self) -> AttrInfo {