Remove some unnecessary uses of the serialize module.

This commit is contained in:
Ms2ger 2014-07-24 18:09:53 +02:00
parent 27f92239b0
commit 9bd1f0408b
4 changed files with 1 additions and 8 deletions

View file

@ -11,7 +11,6 @@ use page::Page;
use servo_util::str::DOMString;
use serialize::{Encoder, Encodable};
use std::rc::Rc;
#[deriving(Encodable)]

View file

@ -8,8 +8,6 @@ use dom::bindings::js::{JSRef, Temporary};
use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
use dom::window::Window;
use serialize::{Encoder, Encodable};
#[deriving(Encodable)]
pub struct Screen {
reflector_: Reflector,

View file

@ -13,7 +13,6 @@ use dom::event::{Event, EventMethods, EventTypeId, UIEventTypeId};
use dom::window::Window;
use servo_util::str::DOMString;
use serialize::{Encoder, Encodable};
use std::cell::Cell;
#[deriving(Encodable)]

View file

@ -32,6 +32,7 @@ use js::jsapi::{JS_GC, JS_GetRuntime};
use js::jsval::JSVal;
use js::jsval::NullValue;
use js::rust::with_compartment;
use url::{Url, UrlParser};
use std::collections::hashmap::HashMap;
use std::cell::{Cell, RefCell};
@ -42,12 +43,8 @@ use std::hash::{Hash, sip};
use std::io::timer::Timer;
use std::ptr;
use std::rc::Rc;
use time;
use serialize::{Encoder, Encodable};
use url::{Url, UrlParser};
#[deriving(PartialEq, Encodable, Eq)]
pub struct TimerId(i32);