Move some unit type definitions to style_traits.

This commit is contained in:
Ms2ger 2016-07-07 11:55:53 +02:00
parent 42e90f7db9
commit cbfe77cee1
16 changed files with 42 additions and 45 deletions

View file

@ -53,11 +53,11 @@ use std::marker::PhantomData;
use std::mem::replace;
use std::process;
use std::sync::mpsc::{Sender, channel, Receiver};
use style_traits::PagePx;
use style_traits::cursor::Cursor;
use style_traits::viewport::ViewportConstraints;
use timer_scheduler::TimerScheduler;
use url::Url;
use util::geometry::PagePx;
use util::opts;
use util::prefs::PREFS;
use util::thread::spawn_named;

View file

@ -31,9 +31,9 @@ use std::collections::HashMap;
use std::io::Error as IOError;
use std::process;
use std::sync::mpsc::{Sender, channel};
use style_traits::{PagePx, ViewportPx};
use url::Url;
use util;
use util::geometry::{PagePx, ViewportPx};
use util::ipc::OptionalIpcSender;
use util::opts::{self, Opts};
use util::prefs::{PREFS, Pref};