Fix warnings post-upgrade

This commit is contained in:
Manish Goregaokar 2014-12-18 15:18:11 +05:30
parent 21a888341d
commit 50c246bdc5
5 changed files with 8 additions and 13 deletions

View file

@ -7,7 +7,7 @@ use dom::bindings::codegen::InheritTypes::{NodeCast, ElementCast};
use dom::bindings::error::ErrorResult;
use dom::bindings::global::GlobalRef;
use dom::bindings::js::{JS, JSRef, OptionalRootedRootable, Temporary};
use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
use dom::bindings::utils::{Reflector, reflect_dom_object};
use dom::document::DocumentHelpers;
use dom::element::{Element, ElementHelpers, StylePriority};
use dom::htmlelement::HTMLElement;
@ -412,9 +412,3 @@ impl<'a> CSSStyleDeclarationMethods for JSRef<'a, CSSStyleDeclaration> {
[ZIndex, SetZIndex, "z-index"]
)
}
impl Reflectable for CSSStyleDeclaration {
fn reflector<'a>(&'a self) -> &'a Reflector {
&self.reflector_
}
}