diff options
Diffstat (limited to 'components/script/dom/filelist.rs')
-rw-r--r-- | components/script/dom/filelist.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/filelist.rs b/components/script/dom/filelist.rs index 6b26bf2d722..d2b647273ba 100644 --- a/components/script/dom/filelist.rs +++ b/components/script/dom/filelist.rs @@ -20,7 +20,7 @@ pub struct FileList { } impl FileList { - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] fn new_inherited(files: Vec<Dom<File>>) -> FileList { FileList { reflector_: Reflector::new(), @@ -28,7 +28,7 @@ impl FileList { } } - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new(window: &Window, files: Vec<DomRoot<File>>) -> DomRoot<FileList> { reflect_dom_object( Box::new(FileList::new_inherited( |