diff options
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index c4ac768225f..21afb9e59af 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -12,7 +12,7 @@ use dom::bindings::error::Fallible; use dom::bindings::error::Error::InvalidCharacter; use dom::bindings::global::GlobalRef; use dom::bindings::js::{MutNullableJS, JSRef, Temporary}; -use dom::bindings::utils::{Reflectable, Reflector}; +use dom::bindings::utils::Reflectable; use dom::browsercontext::BrowserContext; use dom::console::Console; use dom::document::Document; @@ -182,7 +182,6 @@ pub fn base64_atob(atob: DOMString) -> Fallible<DOMString> { } } - impl<'a> WindowMethods for JSRef<'a, Window> { fn Alert(self, s: DOMString) { // Right now, just print to the console @@ -293,11 +292,6 @@ impl<'a> WindowMethods for JSRef<'a, Window> { } } -impl Reflectable for Window { - fn reflector<'a>(&'a self) -> &'a Reflector { - self.eventtarget.reflector() - } -} pub trait WindowHelpers { fn flush_layout(self, goal: ReflowGoal, query: ReflowQueryType); |