diff options
Diffstat (limited to 'components/script/dom/plugin.rs')
-rw-r--r-- | components/script/dom/plugin.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/components/script/dom/plugin.rs b/components/script/dom/plugin.rs index 8e3af814ec9..83c8e252556 100644 --- a/components/script/dom/plugin.rs +++ b/components/script/dom/plugin.rs @@ -1,12 +1,12 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -use dom::bindings::codegen::Bindings::PluginBinding::PluginMethods; -use dom::bindings::js::Root; -use dom::bindings::reflector::Reflector; -use dom::bindings::str::DOMString; -use dom::mimetype::MimeType; +use crate::dom::bindings::codegen::Bindings::PluginBinding::PluginMethods; +use crate::dom::bindings::reflector::Reflector; +use crate::dom::bindings::root::DomRoot; +use crate::dom::bindings::str::DOMString; +use crate::dom::mimetype::MimeType; use dom_struct::dom_struct; #[dom_struct] @@ -36,22 +36,22 @@ impl PluginMethods for Plugin { } // https://html.spec.whatwg.org/multipage/#dom-plugin-item - fn Item(&self, _index: u32) -> Option<Root<MimeType>> { + fn Item(&self, _index: u32) -> Option<DomRoot<MimeType>> { unreachable!() } // https://html.spec.whatwg.org/multipage/#dom-plugin-nameditem - fn NamedItem(&self, _name: DOMString) -> Option<Root<MimeType>> { + fn NamedItem(&self, _name: DOMString) -> Option<DomRoot<MimeType>> { unreachable!() } // https://html.spec.whatwg.org/multipage/#dom-plugin-item - fn IndexedGetter(&self, _index: u32) -> Option<Root<MimeType>> { + fn IndexedGetter(&self, _index: u32) -> Option<DomRoot<MimeType>> { unreachable!() } // check-tidy: no specs after this line - fn NamedGetter(&self, _name: DOMString) -> Option<Root<MimeType>> { + fn NamedGetter(&self, _name: DOMString) -> Option<DomRoot<MimeType>> { unreachable!() } |