sort all uses

This commit is contained in:
Johann Tuffe 2015-08-20 20:47:12 +08:00
parent d3c7e31722
commit ec07178b6f
269 changed files with 903 additions and 931 deletions

View file

@ -39,14 +39,14 @@ use compositing::windowing::WindowEvent;
use compositing::windowing::WindowMethods;
use compositing::{CompositorProxy, CompositorTask, Constellation};
use msg::constellation_msg::Msg as ConstellationMsg;
use msg::constellation_msg::ConstellationChan;
use msg::constellation_msg::Msg as ConstellationMsg;
use script::dom::bindings::codegen::RegisterBindings;
use net::image_cache_task::new_image_cache_task;
use net::storage_task::StorageTaskFactory;
use net::resource_task::new_resource_task;
use net::storage_task::StorageTaskFactory;
use net_traits::storage_task::StorageTask;
use gfx::font_cache_task::FontCacheTask;

View file

@ -35,11 +35,11 @@ extern crate env_logger;
#[macro_use]
extern crate android_glue;
use std::rc::Rc;
use util::opts;
use compositing::windowing::WindowEvent;
use net_traits::hosts;
use servo::Browser;
use compositing::windowing::WindowEvent;
use std::rc::Rc;
use util::opts;
#[cfg(target_os="android")]
use std::borrow::ToOwned;
@ -186,13 +186,13 @@ mod android {
unsafe impl Send for FilePtr {}
fn redirect_output(file_no: c_int) {
use self::libc::funcs::posix88::unistd::{pipe, dup2};
use self::libc::funcs::posix88::stdio::fdopen;
use self::libc::funcs::c95::stdio::fgets;
use util::task::spawn_named;
use self::libc::funcs::posix88::stdio::fdopen;
use self::libc::funcs::posix88::unistd::{pipe, dup2};
use std::ffi::CStr;
use std::ffi::CString;
use std::str::from_utf8;
use std::ffi::CStr;
use util::task::spawn_named;
unsafe {
let mut pipes: [c_int; 2] = [ 0, 0 ];