aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/filereader.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/filereader.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/filereader.rs')
-rw-r--r--components/script/dom/filereader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/filereader.rs b/components/script/dom/filereader.rs
index 4e17f6dd62e..dce7ef438dc 100644
--- a/components/script/dom/filereader.rs
+++ b/components/script/dom/filereader.rs
@@ -302,7 +302,7 @@ impl FileReaderMethods for FileReader {
// https://w3c.github.io/FileAPI/#dfn-error
fn GetError(&self) -> Option<Root<DOMException>> {
- self.error.get_rooted()
+ self.error.get()
}
// https://w3c.github.io/FileAPI/#dfn-result