diff options
Diffstat (limited to 'components/script/dom/navigator.rs')
-rw-r--r-- | components/script/dom/navigator.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/components/script/dom/navigator.rs b/components/script/dom/navigator.rs index 0e3415f8b48..3eb688de6e1 100644 --- a/components/script/dom/navigator.rs +++ b/components/script/dom/navigator.rs @@ -6,7 +6,7 @@ use dom::bindings::codegen::Bindings::NavigatorBinding; use dom::bindings::codegen::Bindings::NavigatorBinding::NavigatorMethods; use dom::bindings::global::GlobalRef; use dom::bindings::js::{JSRef, Temporary}; -use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; +use dom::bindings::utils::{Reflector, reflect_dom_object}; use dom::navigatorinfo::NavigatorInfo; use dom::window::Window; use servo_util::str::DOMString; @@ -56,8 +56,3 @@ impl<'a> NavigatorMethods for JSRef<'a, Navigator> { } } -impl Reflectable for Navigator { - fn reflector<'a>(&'a self) -> &'a Reflector { - &self.reflector_ - } -} |